Skip to content

Commit

Permalink
ARROW-7599: [Java] Fix build break due to change in RangeEqualsVisitor
Browse files Browse the repository at this point in the history
Closes #6216 from tianchen92/fix_test and squashes the following commits:

a2fc944 <tianchen> reset name
5591f9f <tianchen>  Fix master java build break

Authored-by: tianchen <niki.lj@alibaba-inc.com>
Signed-off-by: Micah Kornfield <emkornfield@gmail.com>
  • Loading branch information
tianchen92 authored and emkornfield committed Jan 17, 2020
1 parent 1953fac commit cb840e6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ public int search(V keyVector, int keyIndex) throws ExecutionException, Interrup
return;
}

RangeEqualsVisitor visitor = new RangeEqualsVisitor(vector, keyVector, false);
RangeEqualsVisitor visitor = new RangeEqualsVisitor(vector, keyVector, null);
Range range = new Range(0, 0, 1);
for (int pos = start; pos < end; pos++) {
if (keyPosition != -1) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ public void testCopyListVector() {
to.setValueCount(COUNT);

// validate equals
assertTrue(VectorEqualsVisitor.vectorEquals(from, to));
assertTrue(VectorEqualsVisitor.vectorEquals(from, to, TYPE_COMPARATOR));

}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ public void testDictionaryReplacement() throws Exception {
assertTrue(reader.loadNextBatch());
FieldVector dictionaryVector = reader.getDictionaryVectors().get(1L).getVector();
// make sure the delta dictionary is concatenated.
assertTrue(VectorEqualsVisitor.vectorEquals(dictionaryVector, dictionaryVector1));
assertTrue(VectorEqualsVisitor.vectorEquals(dictionaryVector, dictionaryVector1, null));
assertFalse(reader.loadNextBatch());
}

Expand Down Expand Up @@ -503,7 +503,7 @@ public void testDeltaDictionary() throws Exception {
assertTrue(reader.loadNextBatch());
FieldVector dictionaryVector = reader.getDictionaryVectors().get(1L).getVector();
// make sure the delta dictionary is concatenated.
assertTrue(VectorEqualsVisitor.vectorEquals(dictionaryVector, dictionaryVector3));
assertTrue(VectorEqualsVisitor.vectorEquals(dictionaryVector, dictionaryVector3, null));
assertFalse(reader.loadNextBatch());
}

Expand Down

0 comments on commit cb840e6

Please sign in to comment.