Skip to content

Commit 69cd381

Browse files
committed
GDV-13:[Java]Fixed filter bugs. (apache#78)
Fixed some bugs in the filter code path.
1 parent d9955e3 commit 69cd381

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cpp/src/gandiva/codegen/filter.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ Status Filter::Evaluate(const arrow::RecordBatch &batch,
9696
// Compute the intersection of the value and validity.
9797
auto result = bitmaps.GetLocalBitMap(2);
9898
BitMapAccumulator::IntersectBitMaps(
99-
result, {bitmaps.GetLocalBitMap(0), bitmaps.GetLocalBitMap((1))}, bitmap_size);
99+
result, {bitmaps.GetLocalBitMap(0), bitmaps.GetLocalBitMap((1))}, batch.num_rows());
100100

101101
return out_selection->PopulateFromBitMap(result, bitmap_size, batch.num_rows() - 1);
102102
}

0 commit comments

Comments
 (0)