hubgeter opened a new pull request, #61689: URL: https://github.com/apache/doris/pull/61689
bp #59984 Problem Summary: This PR addresses three major issues related to reading Iceberg tables: 1. When reading an Iceberg table that contains equality delete files, a crash may occur if schema changes have been applied to the affected columns. The root cause is that the previous implementation matched columns by column name when applying equality deletes. However, Iceberg requires matching columns by Iceberg field ID to correctly identify the original column across schema evolution. This PR updates the equality delete logic to resolve columns using Iceberg IDs instead of column names. 2. For Iceberg tables migrated from Hive, legacy data files do not contain Iceberg field IDs. In this case, columns must be resolved using the table property `schema.name-mapping.default.` This PR adds support for using the name mapping defined in table properties to correctly match columns when reading such data files. 3. Reduce Thrift metadata overhead during table reads. To optimize read performance, this PR reduces the amount of Thrift metadata transmitted when reading Iceberg tables. `History_schema_info` now includes only the columns required for the read, including pruning of nested fields within complex types. Handle Iceberg data files with missing field IDs. Fix equality delete handling for Iceberg tables with schema changes. -- 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]
