sfc-gh-asudhakar commented on issue #10008: URL: https://github.com/apache/iceberg/issues/10008#issuecomment-2013045412
> @sfc-gh-asudhakar I believe you need to update the schema of the Iceberg table yourself. The [docs](https://iceberg.apache.org/docs/latest/spark-procedures/#add_files) of `add_files` also states: > > > This procedure will not analyze the schema of the files to determine if they actually match the schema of the Iceberg table Hi @nastra , the schema of the Iceberg table was updated (step 2 above) and verified in the new metadata.json file generated after the `alter table` command, which shows `default-spec-id` as `1` that contains both `p1` and `p2` as partition columns. However, the `add_files` does not seem to reflect this change. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org