eldenmoon commented on code in PR #65561:
URL: https://github.com/apache/doris/pull/65561#discussion_r3656263388
##########
fe/fe-core/src/main/java/org/apache/doris/nereids/rules/analysis/ExpressionAnalyzer.java:
##########
@@ -1031,6 +1032,11 @@ public Expression visitMatch(Match match,
ExpressionRewriteContext context) {
@Override
public Expression visitCast(Cast cast, ExpressionRewriteContext context) {
cast = (Cast) super.visitCast(cast, context);
+ CascadesContext cascadesContext = getCascadesContext();
+ if (cast.isExplicitType() && cascadesContext != null
Review Comment:
这里判断下Variant类型, 然后加上英文注释: 『最终会删掉V1相关的代码,并去掉相关代码』
--
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]