aokolnychyi commented on code in PR #8157:
URL: https://github.com/apache/iceberg/pull/8157#discussion_r1275736870
##########
core/src/main/java/org/apache/iceberg/DeleteFileIndex.java:
##########
@@ -259,19 +258,16 @@ && allNonNull(dataNullCounts, field)) {
}
private static <T> boolean rangesOverlap(
- Type.PrimitiveType type,
+ Types.NestedField field,
ByteBuffer dataLowerBuf,
ByteBuffer dataUpperBuf,
- ByteBuffer deleteLowerBuf,
- ByteBuffer deleteUpperBuf) {
- Comparator<T> comparator = Comparators.forType(type);
+ T deleteLower,
+ T deleteUpper) {
+ Type.PrimitiveType type = field.type().asPrimitiveType();
+ Comparator<T> cmp = Comparators.forType(type);
T dataLower = Conversions.fromByteBuffer(type, dataLowerBuf);
Review Comment:
Yep.
--
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]