rajarshisarkar commented on a change in pull request #4377:
URL: https://github.com/apache/iceberg/pull/4377#discussion_r834210106
##########
File path: core/src/main/java/org/apache/iceberg/actions/RewriteFileGroup.java
##########
@@ -77,4 +78,9 @@ public String toString() {
.add("numAddedFiles", addedFiles == null ? "Rewrite Incomplete" :
Integer.toString(addedFiles.size()))
.toString();
}
+
+ @Override
+ public int compareTo(@Nonnull final RewriteFileGroup o) {
Review comment:
This was mainly for the case when the user doesn't pass any option and
we end up following the natural partition order. I have handled this in
`rewriteGroupComparator()` now.
--
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]