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

   ### What problem does this PR solve?
   
   Fixes wrong partition pruning for Paimon external table splits when runtime 
partition pruning evaluates static partition predicates such as `partition IN 
(...)`.
   
   The old BE path reused `_runtime_filter_partition_prune_block` across splits 
and inserted partition value columns by index. Repeated `insert(index, ...)` 
can corrupt the block column layout across splits, causing valid splits to be 
pruned incorrectly.
   
   This also makes Paimon split partition metadata stable by passing ordered 
partition keys and values from FE to BE.
   
   Related fix: apache/doris#62821
   Related Jira: DORIS-26857
   Backport of branch-4.1 PR: apache/doris#65307
   
   ### Check List
   
   - [x] Added regression coverage for Paimon partition pruning with multiple 
partition values.
   - [ ] Local build/regression not run; expected to be verified by CI.
   


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