Skip to content

Commit 8124f41

Browse files
committed
fix: update threshold and value literals in n-ary CASE WHEN benchmark
1 parent 14524f6 commit 8124f41

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

vortex-array/benches/expr/case_when_bench.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,8 +196,8 @@ fn case_when_nary_100_conditions(bencher: Bencher, size: usize) {
196196
let mut children: Vec<Expression> = Vec::with_capacity(201);
197197
for i in (1..=100).rev() {
198198
let threshold = i * 10; // thresholds: 1000, 990, 980, ..., 10
199-
children.push(gt(get_item("value", root()), lit(threshold as i32)));
200-
children.push(lit(i as i32));
199+
children.push(gt(get_item("value", root()), lit(threshold)));
200+
children.push(lit(i));
201201
}
202202
children.push(lit(0i32)); // else
203203

0 commit comments

Comments
 (0)