Fokko commented on PR #1561: URL: https://github.com/apache/iceberg-rust/pull/1561#issuecomment-3160162779
@CTTY Thanks for raising this PR, as suggested in #1560 I think we need to rely on name-mapping here. Iceberg is designed to do operations lazy, meaning that we typically don't rewrite data unless it is neccessary. For example, if you rename a field, it will still find the field with the original name using the field-IDs. This is the case when you have a new table that has the field-IDs correctly set. However, in the age of big-data, and to make it easier for users to migrate to Iceberg, we also support importing existing Parquet files where the field-IDs are missing. In this case, we'll [use `name-mapping` to map names to a field-ID](https://iceberg.apache.org/spec/#column-projection). In the case of a rename, the old and the new name will map to the same ID, so we can still look up the field after a rename. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
