Gabriel39 opened a new pull request, #67690:
URL: https://github.com/apache/doris/pull/67690

   ### What problem does this PR solve?
   
   Backport #67574 to `branch-4.1`.
   
   Iceberg V2 scans could retain a stale nested file projection after a 
predicate on a missing child was demoted, shifting projected sibling values by 
physical ordinal. ID-less migrated files could also fall back to current-name 
mapping after the explicit default name mapping was removed, exposing stale 
physical values instead of NULL.
   
   ### Branch-4.1 adaptations
   
   - Port the dense file-block position remapping required by the projection 
reconciliation logic.
   - Apply the malformed name-mapping fallback in the branch-4.1 `fe-core` 
Iceberg utility.
   - Adapt the metadata-only mapping test to validate the history-schema 
invariant directly because branch-4.1 does not yet expose synthesized table 
columns.
   
   ### Test
   
   - ASAN BE unit-test build passed.
   - `ColumnMapperTest.*` and `IcebergV2ReaderTest.*`: 102 tests passed.
   - `IcebergUtilsTest#testMalformedNameMappingFallsBackToCurrentSchemaNames` 
passed.
   - `SessionVariablesTest#testFileScannerV2StaysEnabledInFuzzyMode` passed.
   - FE Checkstyle passed.
   - clang-format 16 passed for every affected C/C++ file.
   
   Regression coverage from the original fix is included for nested sibling 
projection alignment and migrated ID-less nested NULL semantics.


-- 
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]

Reply via email to