RussellSpitzer commented on issue #7192: URL: https://github.com/apache/iceberg/issues/7192#issuecomment-1483280427
There are two mechinisms, 1. Field Ids, directly mapping a column in a file to a known schema element and 2. Default Field Mappings, which map column names to a given field ID which maps to a known schema element You are most likely using 2 as these files are being added directly to Iceberg and not written by iceberg. This is basically added as a compatibility layer for these files that have been directly imported into Iceberg. You would be able to recover data from a not-iceberg written parquet file with this method, but any files written by iceberg have explicit field ids and don't use 2 to resolve fields. -- 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]
