Skip to content

Commit

Permalink
GDV-13:[Java]Fixed filter bugs. (apache#78)
Browse files Browse the repository at this point in the history
Fixed some bugs in the filter code path.
  • Loading branch information
praveenbingo committed Sep 10, 2018
1 parent d9955e3 commit 69cd381
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/src/gandiva/codegen/filter.cc
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ Status Filter::Evaluate(const arrow::RecordBatch &batch,
// Compute the intersection of the value and validity.
auto result = bitmaps.GetLocalBitMap(2);
BitMapAccumulator::IntersectBitMaps(
result, {bitmaps.GetLocalBitMap(0), bitmaps.GetLocalBitMap((1))}, bitmap_size);
result, {bitmaps.GetLocalBitMap(0), bitmaps.GetLocalBitMap((1))}, batch.num_rows());

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

0 comments on commit 69cd381

Please sign in to comment.