RussellSpitzer commented on code in PR #4377:
URL: https://github.com/apache/iceberg/pull/4377#discussion_r851430904


##########
api/src/main/java/org/apache/iceberg/actions/RewriteDataFiles.java:
##########
@@ -88,6 +89,21 @@ public interface RewriteDataFiles extends 
SnapshotUpdate<RewriteDataFiles, Rewri
   String USE_STARTING_SEQUENCE_NUMBER = "use-starting-sequence-number";
   boolean USE_STARTING_SEQUENCE_NUMBER_DEFAULT = true;
 
+  /**
+   * Forces the rewrite job order based on the value.
+   * <p><ul>
+   * <li> If rewrite.job-order=bytes-asc, then rewrite the smallest job groups 
first.
+   * <li> If rewrite.job-order=bytes-desc, then rewrite the largest job groups 
first.
+   * <li> If rewrite.job-order=files-asc, then rewrite the job groups with the 
least files first.
+   * <li> If rewrite.job-order=files-desc, then rewrite the job groups with 
the most files first.
+   * <li> If rewrite.job-order=none, then rewrite job groups in the order they 
were planned (no
+   * specific ordering).
+   * </ul><p>
+   * Defaults to none.
+   */
+  String REWRITE_JOB_ORDER = "rewrite.job-order";

Review Comment:
   we could do rewrite-job-order in the backport pr, I think that would be 
clearest if we want to avoid the sub prop



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