Skip to content

feat(compaction): add MaxFilesToRewrite option#1175

Draft
alessandro-nori wants to merge 1 commit into
apache:mainfrom
alessandro-nori:anori/max-files-to-rewrite
Draft

feat(compaction): add MaxFilesToRewrite option#1175
alessandro-nori wants to merge 1 commit into
apache:mainfrom
alessandro-nori:anori/max-files-to-rewrite

Conversation

@alessandro-nori

@alessandro-nori alessandro-nori commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Summary

Motivation

When rewriting data files, users may want to limit the number of files processed in a single run to reduce file I/O operations. This option truncates the planned file tasks until the specified count is reached. If the table has fewer candidate files than the limit, all files are processed normally.

@alessandro-nori alessandro-nori force-pushed the anori/max-files-to-rewrite branch 2 times, most recently from fa5ebe5 to 097c2d9 Compare June 9, 2026 08:59
@alessandro-nori alessandro-nori force-pushed the anori/max-files-to-rewrite branch from 097c2d9 to 08898c6 Compare June 9, 2026 09:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant