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

   ### What problem does this PR solve?
   
   Historical Iceberg and Paimon relations could reuse table-level MVCC 
metadata from another occurrence in the same statement. This caused old 
branches to expose newer schemas, multi-snapshot joins and unions to fail 
analysis, and independent Paimon branches to resolve schema IDs against the 
base table. Iceberg nested field comments were also dropped during type 
conversion.
   
   Related issues: DORIS-27425, DORIS-27427, DORIS-27428, DORIS-27433, 
DORIS-27434.
   
   ### What is changed?
   
   - Resolve Iceberg branch schemas from the branch-head snapshot.
   - Pin explicit snapshot/tag/branch metadata per relation while preserving 
statement-level reuse for ordinary latest queries.
   - Carry relation-local schemas through logical output and scan 
initialization.
   - Load independent Paimon branch schemas from the branch table.
   - Preserve nested Iceberg field comments in Doris struct types.
   - Convert the affected negative P0 regression contracts to positive result 
checks.
   
   ### Check List
   
   - [x] Added or updated unit tests.
   - [x] Updated regression tests.
   - [x] Ran 83 focused FE tests covering Iceberg/Paimon schema, scan-node, 
MVCC, logical scan, and metadata cache paths.


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