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

   ### What problem does this PR solve?
   
   Paimon scan planning ignored the scan limit, so small-result queries could 
still plan every file split.
   
   ### What is changed and how does it work?
   
   - Pass the Doris scan limit to the Paimon read builder so Paimon can stop 
split planning once enough rows are covered.
   - Only push limits that fit Paimon's `int` API to avoid unsafe narrowing and 
possible row omission.
   - Add a partitioned-table regression test covering both split reduction and 
oversized limits.
   
   ### Check List
   
   - [x] Paimon scan planner unit tests
   - [x] FE Checkstyle
   
   


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