Uh oh!
There was an error while loading. Please reload this page.
[fix](iceberg)fix core when read a iceberg table that have schema change and equality delete. - #59984
Conversation
hello-stephen
commented
Jan 17, 2026
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
hubgeter
commented
Jan 17, 2026
run buildall |
doris-robot
commented
Jan 17, 2026
Cloud UT Coverage ReportIncrement line coverage Increment coverage report
|
hello-stephen
commented
Jan 17, 2026
FE UT Coverage ReportIncrement line coverage |
54149f6 to
10863faComparehubgeter
commented
Jan 17, 2026
run buildall |
hello-stephen
commented
Jan 17, 2026
Cloud UT Coverage ReportIncrement line coverage Increment coverage report
|
hello-stephen
commented
Jan 17, 2026
FE UT Coverage ReportIncrement line coverage |
doris-robot
commented
Jan 17, 2026
TPC-H: Total hot run time: 31578 ms |
doris-robot
commented
Jan 17, 2026
TPC-DS: Total hot run time: 173933 ms |
doris-robot
commented
Jan 17, 2026
ClickBench: Total hot run time: 27.86 s |
hello-stephen
commented
Jan 17, 2026
FE Regression Coverage ReportIncrement line coverage |
hubgeter
commented
Jan 18, 2026
run buildall |
doris-robot
commented
Jan 18, 2026
Cloud UT Coverage ReportIncrement line coverage Increment coverage report
|
hello-stephen
commented
Jan 18, 2026
FE UT Coverage ReportIncrement line coverage |
doris-robot
commented
Jan 18, 2026
TPC-H: Total hot run time: 31924 ms |
doris-robot
commented
Jan 18, 2026
TPC-DS: Total hot run time: 174572 ms |
doris-robot
commented
Jan 18, 2026
ClickBench: Total hot run time: 27.85 s |
hello-stephen
commented
Jan 18, 2026
FE Regression Coverage ReportIncrement line coverage |
hubgeter
commented
Jan 18, 2026
run buildall |
hello-stephen
commented
Jan 18, 2026
Cloud UT Coverage ReportIncrement line coverage Increment coverage report
|
hubgeter
commented
Jan 19, 2026
run buildall |
doris-robot
commented
Jan 19, 2026
Cloud UT Coverage ReportIncrement line coverage Increment coverage report
|
hello-stephen
commented
Jan 19, 2026
FE UT Coverage ReportIncrement line coverage |
doris-robot
commented
Jan 19, 2026
TPC-H: Total hot run time: 32029 ms |
doris-robot
commented
Jan 19, 2026
TPC-DS: Total hot run time: 173146 ms |
doris-robot
commented
Jan 19, 2026
ClickBench: Total hot run time: 27.65 s |
hello-stephen
commented
Jan 19, 2026
FE Regression Coverage ReportIncrement line coverage |
hubgeter
commented
Jan 19, 2026
run buildall |
doris-robot
commented
Mar 11, 2026
Cloud UT Coverage ReportIncrement line coverage Increment coverage report
|
doris-robot
commented
Mar 11, 2026
TPC-H: Total hot run time: 27897 ms |
doris-robot
commented
Mar 11, 2026
TPC-DS: Total hot run time: 153398 ms |
hello-stephen
commented
Mar 11, 2026
FE UT Coverage ReportIncrement line coverage |
doris-robot
commented
Mar 11, 2026
BE UT Coverage ReportIncrement line coverage Increment coverage report
|
doris-robot
commented
Mar 11, 2026
TPC-H: Total hot run time: 27694 ms |
doris-robot
commented
Mar 11, 2026
TPC-DS: Total hot run time: 153255 ms |
hello-stephen
commented
Mar 11, 2026
BE Regression && UT Coverage ReportIncrement line coverage Increment coverage report
|
hello-stephen
commented
Mar 11, 2026
BE Regression && UT Coverage ReportIncrement line coverage Increment coverage report
|
PR approved by at least one committer and no changes requested. |
Uh oh!
There was an error while loading. Please reload this page.
…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.
… schema change and equality delete. (#59984) (#61348) 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. ### What problem does this PR solve? Issue Number: close #xxx Related PR: #xxx Problem Summary: ### Release note None ### Check List (For Author) - Test <!-- At least one of them must be included. --> - [ ] Regression test - [ ] Unit Test - [ ] Manual test (add detailed scripts or steps below) - [ ] No need to test or manual test. Explain why: - [ ] This is a refactor/code format and no logic has been changed. - [ ] Previous test can cover this change. - [ ] No code files have been changed. - [ ] Other reason <!-- Add your reason? --> - Behavior changed: - [ ] No. - [ ] Yes. <!-- Explain the behavior change --> - Does this need documentation? - [ ] No. - [ ] Yes. <!-- Add document PR link here. eg: apache/doris-website#1214 --> ### Check List (For Reviewer who merge this PR) - [ ] Confirm the release note - [ ] Confirm test cases - [ ] Confirm document - [ ] Add branch pick label <!-- Add branch pick label that this PR should merge into -->
…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.
…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.
… schema change and equality delete. (#59984) (#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.
What problem does this PR solve?
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.Release note
Handle Iceberg data files with missing field IDs.
Fix equality delete handling for Iceberg tables with schema changes.
Check List (For Author)
Test
Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)