ViktorBystrov72 opened a new pull request, #21114:
URL: https://github.com/apache/hudi/pull/21114

   ### Describe the issue this Pull Request addresses
   
   Closes #20931.
   
   ### Summary and Changelog
   
   Add `read.splits.order` for bounded Flink Source V2 reads. `commit` is the 
default. `partition_commit` orders the shared pool by lexicographic partition 
path and breaks ties with the existing commit comparator. The bounded reader 
uses the same comparator, and restored pending splits follow the configured 
order.
   
   ### Impact
   
   Backfills can prioritize older partitions even when newer commits rewrote 
their files. Parallel readers can still process overlapping partitions, so this 
setting does not provide a global output order or a partition barrier.
   
   ### Risk Level
   
   Low. The new ordering is opt-in. Three focused tests passed with Flink 
1.20.1 and the Hudi 1.2.0 bundle. They cover both restore orders, the base-file 
commit tie-break and streaming provider routing.
   
   ### Documentation Update
   
   The Flink configuration description documents both orders and their scope.
   
   ### Contributor's checklist
   
   - [x] Read through the contributor's guide
   - [x] Enough context is provided in the sections above
   - [x] Added regression tests
   


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

Reply via email to