jackye1995 commented on code in PR #9731:
URL: https://github.com/apache/iceberg/pull/9731#discussion_r1500218491


##########
api/src/main/java/org/apache/iceberg/actions/RewriteManifests.java:
##########
@@ -44,6 +45,20 @@ public interface RewriteManifests
    */
   RewriteManifests rewriteIf(Predicate<ManifestFile> predicate);
 
+  /**
+   * Rewrite manifests in a given order, based on partition transforms
+   *
+   * <p>If not set, manifests will be rewritten in the order of the transforms 
in the table's
+   * current partition spec.
+   *
+   * @param partitionSortOrder a list of partition field transform names
+   * @return this for method chaining
+   */
+  default RewriteManifests sort(List<String> partitionSortOrder) {

Review Comment:
   I think this should be better called `partitionFieldSortOrder`? because the 
inputs are not the actual partitions, but the partition fields.



-- 
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-unsubscr...@iceberg.apache.org

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


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

Reply via email to