Uh oh!
There was an error while loading. Please reload this page.
branch-4.1:[fix](iceberg)fix core when read a iceberg table that have schema change and equality delete. (#59984) - #61689
Conversation
hello-stephen
commented
Mar 25, 2026
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
hubgeter
commented
Mar 25, 2026
run buildall |
doris-robot
commented
Mar 25, 2026
Cloud UT Coverage ReportIncrement line coverage Increment coverage report
|
hubgeter
commented
Mar 25, 2026
run buildall |
doris-robot
commented
Mar 25, 2026
Cloud UT Coverage ReportIncrement line coverage Increment coverage report
|
hello-stephen
commented
Mar 25, 2026
FE UT Coverage ReportIncrement line coverage |
…nge and equality delete. (apache#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.
ceba64e to
8d225cfComparemorningman
commented
Mar 25, 2026
run buildall |
doris-robot
commented
Mar 25, 2026
Cloud UT Coverage ReportIncrement line coverage Increment coverage report
|
hello-stephen
commented
Mar 25, 2026
BE UT Coverage ReportIncrement line coverage Increment coverage report
|
hello-stephen
commented
Mar 25, 2026
BE Regression && UT Coverage ReportIncrement line coverage Increment coverage report
|
Uh oh!
There was an error while loading. Please reload this page.
bp #59984
Problem Summary:
This PR addresses three major issues related to reading Iceberg tables:
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.
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.
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_infonow 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.