alessandro-nori opened a new pull request, #1175:
URL: https://github.com/apache/iceberg-go/pull/1175

   ## Summary
   
   - Adds `MaxFilesToRewrite int` to `compaction.Config`, matching Java's 
`max-files-to-rewrite` option
   - Applied as a post-planning cap: groups are included in order, and the last 
group is truncated to fit the remaining budget
   - `0` means unlimited (default behavior unchanged)
   
   ## Motivation
   
   Java's `BinPackRewriteFilePlanner` exposes `max-files-to-rewrite` to let 
callers limit how many files are compacted in a single run — useful for 
incremental compaction or cost control. This port brings the same knob to 
iceberg-go.


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