diff --git a/src/frontend/src/optimizer/plan_expr_rewriter/const_case_when_rewriter.rs b/src/frontend/src/optimizer/plan_expr_rewriter/const_case_when_rewriter.rs index a4970e7036c50..6a89a683f0e75 100644 --- a/src/frontend/src/optimizer/plan_expr_rewriter/const_case_when_rewriter.rs +++ b/src/frontend/src/optimizer/plan_expr_rewriter/const_case_when_rewriter.rs @@ -29,6 +29,6 @@ impl ExprRewriter for ConstCaseWhenRewriter { // Normal constant lookup pass return func_call.into(); } - func_call.inputs()[0].clone().into() + func_call.inputs()[0].clone() } }