Skip to content

Support rewrite-all rewrite flag in Binpack #4426

@RussellSpitzer

Description

@RussellSpitzer

Currently only the Sort RewriteDataFiles strategy supports triggering a rewrite on all data files regardless of size. Every once in a while we see a use case where a user wants to trigger a rewrite on every file, regardless of size or other criteria. I think it makes sense to allow for the rewrite-all flag to work in Binpack as well.

My suggestion would be that we take the property and move it to BinPackStrategy and allow both BinPackStrategy and SortStrategy to use the option. An additional test would be required as well to make sure that BinPack Strategy can use the new option.

Metadata

Metadata

Assignees

No one assigned

    Labels

    beginnerIssues for apache iceberg beginners, enjoy to contribute !good first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions