Skip to content

Commit 3094cd9

Browse files
committed
chore: fix
1 parent 088add0 commit 3094cd9

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -725,9 +725,7 @@ fn expr_normalize(ctx: &Box<PlanNormalizeContext>, expr: &Expr) -> Result<Box<Ex
725725
let expr = expr.as_ref().map(|e| expr_normalize(ctx, e)).transpose()?;
726726
let when_then_expr = when_then_expr
727727
.iter()
728-
.map(|(when, then)| {
729-
Ok((expr_normalize(ctx, when)?, expr_normalize(ctx, then)?))
730-
})
728+
.map(|(when, then)| Ok((expr_normalize(ctx, when)?, expr_normalize(ctx, then)?)))
731729
.collect::<Result<Vec<_>>>()?;
732730
let else_expr = else_expr
733731
.as_ref()

0 commit comments

Comments
 (0)