emkornfield commented on a change in pull request #9736:
URL: https://github.com/apache/arrow/pull/9736#discussion_r597383693
##########
File path:
java/algorithm/src/test/java/org/apache/arrow/algorithm/search/TestParallelSearcher.java
##########
@@ -63,16 +95,19 @@ public void testParallelIntSearch() throws
ExecutionException, InterruptedExcept
targetVector.allocateNew(VECTOR_LENGTH);
keyVector.allocateNew(VECTOR_LENGTH);
+ VectorValueComparator<IntVector> comparator = comparatorType ==
ComparatorType.EqualityComparator ? null
+ : DefaultVectorComparators.createDefaultComparator(targetVector);
Review comment:
Could you add a comment here, I forget the different between order
comparator and default comparator? I'm not really clear what this test is
demonstrating?
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]