aokolnychyi commented on code in PR #8336:
URL: https://github.com/apache/iceberg/pull/8336#discussion_r1300518411


##########
core/src/main/java/org/apache/iceberg/util/ArrayUtil.java:
##########
@@ -300,4 +310,14 @@ private static Object copyArrayGrow1(final Object array, 
final Class<?> newArray
     }
     return Array.newInstance(newArrayComponentType, 1);
   }
+
+  public static boolean isStrictlyOrdered(long[] array) {
+    for (int index = 1; index < array.length; index++) {

Review Comment:
   That's a good point. I renamed it to `isStrictlyAscending`.



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