slfan1989 opened a new pull request, #2833: URL: https://github.com/apache/iceberg-go/pull/2833
Fixes #2832 ### Summary Compaction could select a file because it met `DeleteFileThreshold` or `DeleteRatioThreshold`, then skip it because the partition or packed group had fewer than `MinInputFiles` files. This PR carries the delete trigger through both checks. A packed group that contains a file meeting either delete threshold is now eligible for rewriting. Groups selected solely because their files are undersized still respect `MinInputFiles`. ### Testing Added regression coverage for both delete thresholds, filtering after bin packing, ordinary files packed alongside a delete-triggered file, and groups containing only ordinary undersized files. The tests also verify skipped-file counts and output estimates. -- 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]
