Skip to content

Commit d312a8c

Browse files
committed
always use mask
1 parent 4e01ca4 commit d312a8c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

parquet/src/arrow/arrow_reader/selection.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,8 @@ impl RowSelection {
200200
/// Panics if any of the [`BooleanArray`] contain nulls
201201
pub fn from_filters(filters: &[BooleanArray]) -> Self {
202202
// TODO decide how to do this based on density or something??
203-
Self::Selectors(RowSelectorSelection::from_filters(filters))
203+
Self::Mask(BitmaskSelection::from_filters(filters))
204+
//Self::Selectors(RowSelectorSelection::from_filters(filters))
204205
}
205206

206207
/// Creates a [`RowSelection`] from an iterator of consecutive ranges to keep

0 commit comments

Comments
 (0)