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

   ### What problem does this PR solve?
   
   Issue Number: [DORIS-27025](http://39.106.86.136:8090/browse/DORIS-27025)
   
   Related PR: #65502
   
   Problem Summary:
   
   Iceberg partition evolution may classify a column as an identity partition 
column because of a newer partition spec, while files written by an older spec 
(for example, `bucket(3, int_col)`) still store that column physically. Pruning 
the reader schema to query slots can therefore make matching rows from older 
ORC files disappear when a predicate references the evolved column.
   
   #65502 already made Iceberg scans send the complete schema for 
equality-delete dependencies. This PR records that the same invariant is 
required for partition evolution and adds a focused FE unit test proving that a 
non-projected evolved partition column remains in the reader schema.
   
   ### Release note
   
   None
   
   ### Check List (For Author)
   
   - Test
       - [ ] Regression test
       - [x] 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
   
   - Behavior changed:
       - [x] No.
       - [ ] Yes.
   
   - Does this need documentation?
       - [x] No.
       - [ ] Yes.
   
   ### Check List (For Reviewer who merge this PR)
   
   - [ ] Confirm the release note
   - [ ] Confirm test cases
   - [ ] Confirm document
   - [ ] Add branch pick label
   


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