Skip to content

Commit

Permalink
[hotfix] Fix master java build break
Browse files Browse the repository at this point in the history
  • Loading branch information
tianchen92 committed Jan 17, 2020
1 parent 1953fac commit 5591f9f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 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 @@ -163,7 +163,7 @@ public void testCopyMapVector() {
@Test
public void testCopyListVector() {
try (ListVector from = ListVector.empty("from", allocator);
ListVector to = ListVector.empty("to", allocator)) {
ListVector to = ListVector.empty("from", allocator)) {

UnionListWriter listWriter = from.getWriter();
listWriter.allocate();
Expand Down 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 5591f9f

Please sign in to comment.