From a650318b4d0f4d36be1328397f2e426ee68c0a53 Mon Sep 17 00:00:00 2001 From: Michael Xu Date: Sat, 3 Feb 2024 21:13:27 -0500 Subject: [PATCH] fix check --- .../optimizer/plan_expr_rewriter/const_case_when_rewriter.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() } }