linrrzqqq commented on code in PR #64127:
URL: https://github.com/apache/doris/pull/64127#discussion_r3366868510


##########
fe/fe-core/src/main/java/org/apache/doris/nereids/rules/expression/rules/FoldConstantRuleOnFE.java:
##########
@@ -554,7 +554,8 @@ public Expression visitBoundFunction(BoundFunction 
boundFunction, ExpressionRewr
         if (checkedExpr.isPresent()) {
             return checkedExpr.get();
         }
-        return ExpressionEvaluator.INSTANCE.eval(boundFunction);
+        return TypeCoercionUtils.ensureSameResultType(

Review Comment:
   这个改错了,不应该提上来的
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to