@Value.Enclosing public interface RewritePositionDeleteFiles extends SnapshotUpdate<RewritePositionDeleteFiles,RewritePositionDeleteFiles.Result>
Generally used for optimizing the size and layout of position delete files within a table.
Modifier and Type | Interface and Description |
---|---|
static interface |
RewritePositionDeleteFiles.FileGroupInfo
A description of a position delete file group, when it was processed, and within which
partition.
|
static interface |
RewritePositionDeleteFiles.FileGroupRewriteResult
For a particular position delete file group, the number of position delete files which are
newly created and the number of files which were formerly part of the table but have been
rewritten.
|
static interface |
RewritePositionDeleteFiles.Result
The action result that contains a summary of the execution.
|
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
MAX_CONCURRENT_FILE_GROUP_REWRITES
The max number of file groups to be simultaneously rewritten by the rewrite strategy.
|
static int |
MAX_CONCURRENT_FILE_GROUP_REWRITES_DEFAULT |
static java.lang.String |
PARTIAL_PROGRESS_ENABLED
Enable committing groups of files (see max-file-group-size-bytes) prior to the entire rewrite
completing.
|
static boolean |
PARTIAL_PROGRESS_ENABLED_DEFAULT |
static java.lang.String |
PARTIAL_PROGRESS_MAX_COMMITS
The maximum amount of Iceberg commits that this rewrite is allowed to produce if partial
progress is enabled.
|
static int |
PARTIAL_PROGRESS_MAX_COMMITS_DEFAULT |
static java.lang.String |
REWRITE_JOB_ORDER
Forces the rewrite job order based on the value.
|
static java.lang.String |
REWRITE_JOB_ORDER_DEFAULT |
Modifier and Type | Method and Description |
---|---|
RewritePositionDeleteFiles |
filter(Expression expression)
A filter for finding deletes to rewrite.
|
snapshotProperty
static final java.lang.String PARTIAL_PROGRESS_ENABLED
The default is false, which produces a single commit when the entire job has completed.
static final boolean PARTIAL_PROGRESS_ENABLED_DEFAULT
static final java.lang.String PARTIAL_PROGRESS_MAX_COMMITS
static final int PARTIAL_PROGRESS_MAX_COMMITS_DEFAULT
static final java.lang.String MAX_CONCURRENT_FILE_GROUP_REWRITES
static final int MAX_CONCURRENT_FILE_GROUP_REWRITES_DEFAULT
static final java.lang.String REWRITE_JOB_ORDER
Defaults to none.
static final java.lang.String REWRITE_JOB_ORDER_DEFAULT
RewritePositionDeleteFiles filter(Expression expression)
The filter will be converted to a partition filter with an inclusive projection. Any file that may contain rows matching this filter will be used by the action. The matching delete files will be rewritten.
expression
- An iceberg expression used to find deletes.