Skip to content

Commit d7ac095

Browse files
committed
chore: fix
1 parent cad83db commit d7ac095

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

rust/cubesql/cubesql/src/compile/engine/df/optimizers/plan_normalize.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1086,7 +1086,7 @@ fn binary_expr_cast_literal(op: &Operator, other_type: &DataType) -> Option<Data
10861086
| Operator::RegexIMatch
10871087
| Operator::RegexNotMatch
10881088
| Operator::RegexNotIMatch => None,
1089-
// Bitwise oprators should cast strings to the other side type
1089+
// Bitwise operators should cast strings to the other side type
10901090
Operator::BitwiseAnd
10911091
| Operator::BitwiseOr
10921092
| Operator::BitwiseShiftRight
@@ -1154,7 +1154,7 @@ mod tests {
11541154
.expect("Failed to build plan");
11551155

11561156
// Create a deeply nested OR expression (should cause stack overflow)
1157-
let deeply_nested_filter = create_deeply_nested_or_expr("value", 128);
1157+
let deeply_nested_filter = create_deeply_nested_or_expr("value", 100);
11581158

11591159
// Build the plan with the filter
11601160
let plan = LogicalPlanBuilder::from(table_scan)
@@ -1163,8 +1163,6 @@ mod tests {
11631163
.build()
11641164
.expect("Failed to build plan");
11651165

1166-
// panic!("{:?}", plan);
1167-
11681166
let optimizer = PlanNormalize::new(&cube_ctx);
11691167
optimizer.optimize(&plan, &OptimizerConfig::new())?;
11701168

0 commit comments

Comments
 (0)