adiranjan25 commented on issue #19142: URL: https://github.com/apache/iceberg/issues/19142#issuecomment-7181745888
I independently reproduced the reported planner behavior on upstream main at commit `6cf1f6e4e` using a focused unit test in `TestBinPackRewriteFilePlanner`. Configuration: - Target file size: 100 - Minimum file size: 75 - Maximum file size: 180 - Minimum input files: 5 - Two input tasks of size 60 each The test confirms that: - `planFileGroups()` selects one group containing both input files. - `expectedOutputFiles(120L)` returns 2. - The planner therefore selects a rewrite without a predicted reduction in file count. Both the existing baseline test suites and the focused diagnostic test passed. This confirms the planner-level mismatch described in the issue. Actual repeated physical rewrites have not yet been tested. I have kept the reproduction local without modifying production code and will wait for guidance on the preferred compaction policy. I'm happy to share the test or coordinate further with the original reporter. -- 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]
