ViktorBystrov72 opened a new pull request, #21113: URL: https://github.com/apache/hudi/pull/21113
### Describe the issue this Pull Request addresses Closes #21037. ### Summary and Changelog Cap Source V2 minibatches at the remaining pushed-down limit. The split fetcher accounts for records it has already copied and enqueued. The source reader still counts emitted records and receives completion signals for each split. ### Impact With a limit of one, a local probe using the split reader and a synthetic copying cursor materialized one row per fetch. The base revision copied 2,048. The probe measures row materialization and excludes Parquet decoding. ### Risk Level Low. The 64 focused reader, batch and limiter tests passed with Flink 1.20.1 and the Hudi 1.2.0 bundle. They cover limits around the minibatch boundary, multiple splits, queued batches and wakeups. A serialized split fixture verifies that materialization starts at the restored offset and respects the current reader allowance. Flink applies the SQL limit downstream of the source. ### Documentation Update None. ### 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]
