adiranjan25 commented on PR #19163:
URL: https://github.com/apache/iceberg/pull/19163#issuecomment-7243163691

   Thanks @suhyeon729 for the collaboration opportunity.
   
   I independently validated your draft implementation at commit `5a4714850` 
and added three additional characterization tests covering the requested 
scenarios.
   
   My findings:
   
   - **Explicit `min-input-files=2`:** A 60+60 group remains eligible for 
rewriting despite `expectedOutputFiles(120)` returning 2. This confirms that 
the proposed `enoughContent()` guard does not address selection through 
`enoughInputFiles()`.
   - **Exactly 1.0× target:** A 50+50 group is not selected because the 
existing content eligibility condition requires the total to be strictly 
greater than the target.
   - **Exactly 1.1× target:** A 55+55 group is selected with one predicted 
output file for a target of 100. The floating-point representation of `1.1 * 
100` makes this boundary slightly greater than 110.
   
   All 32 tests in `TestBinPackRewriteFilePlanner` passed locally, with zero 
failures, errors or skipped tests. Spotless formatting and Git diff checks also 
passed.
   
   The additional test coverage is available here:
   
   
https://github.com/adiranjan25/iceberg/commits/test/19163-binpack-regression-coverage/
   
   These are characterization tests documenting the current behavior rather 
than prescribing a compaction policy before maintainer consensus.
   
   Please feel free to incorporate the tests with the co-author attribution you 
kindly offered:
   
   Co-authored-by: Aditya Ranjan 
<[[email protected]](mailto:[email protected])>
   
   AI disclosure: I used AI assistance in developing the test cases and 
independently executed the local validation.
   
   Thanks again for the opportunity to collaborate.


-- 
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]

Reply via email to