Skip to content

Commit 9086da3

Browse files
committed
Update threshold to 30
1 parent f504da3 commit 9086da3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

parquet/src/arrow/arrow_reader/read_plan.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ impl RowSelectionCursor {
323323

324324
let total_rows: usize = selectors.iter().map(|s| s.row_count).sum();
325325
let selector_count = selectors.len();
326-
const AVG_SELECTOR_LEN_MASK_THRESHOLD: usize = 8;
326+
const AVG_SELECTOR_LEN_MASK_THRESHOLD: usize = 30;
327327
// Prefer a bitmap mask when the selectors are short on average, as the mask
328328
// (re)construction cost is amortized by a simpler execution path during reads.
329329
let use_mask = match strategy {

0 commit comments

Comments
 (0)