You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by "alessandro-nori (via GitHub)" <gi...@apache.org> on 2026/06/09 08:54:15 UTC

[PR] feat(compaction): add MaxFilesToRewrite option [iceberg-go]

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: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


Re: [PR] feat(compaction): add MaxFilesToRewrite option [iceberg-go]

Posted by "zeroshade (via GitHub)" <gi...@apache.org>.
zeroshade commented on PR #1175:
URL: https://github.com/apache/iceberg-go/pull/1175#issuecomment-5254681856

   **๐Ÿ› ๏ธ Maintainer triage note for @alessandro-nori** ยท by `zeroshade` ยท 2026-08-11 UTC
   
   This PR has been inactive for over 30 days with review feedback waiting. If you're still working on it, please reply or push an update addressing the open review threads. This has been in draft since June โ€” if it is ready for another look, mark it Ready for review after updating.
   
   If we don't hear back within 30 days we may close it to keep the review queue manageable โ€” reopening (or a fresh PR) later is always welcome. See the [Pull Request quality criteria](https://github.com/apache/iceberg-go/blob/main/CONTRIBUTING.md).
   
   <sub>_Automated triage โ€” may be imperfect; a maintainer takes the next look._</sub>
   


-- 
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: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org