yihua opened a new pull request, #20872: URL: https://github.com/apache/hudi/pull/20872
### Describe the issue this Pull Request addresses closes #20870 `TestHoodiePruneFileSourcePartitions` asserts plan sizes against hard-coded kilobyte counts, which are the base file sizes of one writer on one Spark version and have to be edited whenever either changes. ### Summary and Changelog The test now reads the expected sizes from the table's base files on storage: all of them where the plan lists the whole table, and those of the one partition the filter keeps under lazy listing. What the test checks, which files the plan accounts for, is unchanged. The same change is part of #20166, where it passed on Spark 3.5, 4.0, 4.1 and 4.2. ### Impact None for users. Test code only. ### Risk Level none ### Documentation Update none ### Contributor's checklist - [ ] Read through [contributor's guide](https://hudi.apache.org/contribute/how-to-contribute) - [ ] Enough context is provided in the sections above - [ ] 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]
