aokolnychyi commented on code in PR #8336:
URL: https://github.com/apache/iceberg/pull/8336#discussion_r1300519749
##########
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) {
Review Comment:
Added a test case. I think an NPE would be a reasonable outcome in this
scenario.
--
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]