From ccd797bcbe3c275fbdd59db4dec18670b32eed27 Mon Sep 17 00:00:00 2001 From: AilinKid <314806019@qq.com> Date: Thu, 31 Aug 2023 11:03:03 +0800 Subject: [PATCH] address weizheng's comment Signed-off-by: AilinKid <314806019@qq.com> --- expression/util.go | 1 - 1 file changed, 1 deletion(-) diff --git a/expression/util.go b/expression/util.go index 75d8f9cabe04d..30068e2a09978 100644 --- a/expression/util.go +++ b/expression/util.go @@ -769,7 +769,6 @@ func unwrapCast(sctx sessionctx.Context, parentF *ScalarFunction, castOffset int return NewFunctionInternal(sctx, parentF.FuncName.L, parentF.RetType, c, parentF.GetArgs()[1]), true } return NewFunctionInternal(sctx, parentF.FuncName.L, parentF.RetType, parentF.GetArgs()[0], c), true - } // eliminateCastFunction will detect the original arg before and the cast type after, once upon