diff --git a/src/frontend/src/binder/expr/mod.rs b/src/frontend/src/binder/expr/mod.rs index 40a9f63433938..7a497a496c3cf 100644 --- a/src/frontend/src/binder/expr/mod.rs +++ b/src/frontend/src/binder/expr/mod.rs @@ -35,7 +35,7 @@ mod order_by; mod subquery; mod value; -const CASE_WHEN_ARMS_OPTIMIZE_LIMIT: usize = 0; +const CASE_WHEN_ARMS_OPTIMIZE_LIMIT: usize = 1; impl Binder { /// Bind an expression with `bind_expr_inner`, attach the original expression