yihua opened a new pull request, #18740:
URL: https://github.com/apache/hudi/pull/18740
### Describe the issue this Pull Request addresses
Follow-up to #18736. The newly added `TestBatchedBlobReaderIO` had several
scenarios that re-verified the merge algorithm at the I/O layer when
`TestBatchedBlobReaderMerge` already covers them as cheap unit tests. Each
removed I/O test built a Spark DataFrame and read a real file, so the
duplication was the dominant runtime cost of the new suite.
### Summary and Changelog
- Drops I/O tests whose assertions duplicate merge unit tests:
- contiguous-zero-gap merge
- small-gaps-within-threshold merge
- large-gaps-above-threshold no-merge
- exact threshold boundary (both inclusive and exclusive halves)
- interleaved input ordering
- Folds the single-file batched + non-batched pair into one test (same
input, two `maxGap` values).
- Folds three multi-file scenarios (per-file batching, mixed gap patterns,
interleaved order) into one combined test.
- Result: `TestBatchedBlobReaderIO` goes from 9 → 3 tests, retaining the
three distinct integration claims: I/O reduction end-to-end, one I/O per merged
group, and per-file routing across multiple files.
### Impact
*Tests only.* No production code changes. Merge-algorithm coverage is
unchanged — every removed I/O scenario has a corresponding test in
`TestBatchedBlobReaderMerge`.
This is stacked on #18736; the diff includes that PR's commits until it
lands.
### Risk Level
**none**
### Documentation Update
none
### Contributor's checklist
- [X] Read through [contributor's
guide](https://hudi.apache.org/contribute/how-to-contribute)
- [X] Enough context is provided in the sections above
- [X] Adequate tests were added if applicable
--
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]