jackwener commented on code in PR #11067:
URL: https://github.com/apache/doris/pull/11067#discussion_r927681918
##########
fe/fe-core/src/main/java/org/apache/doris/nereids/trees/expressions/Alias.java:
##########
@@ -116,14 +115,13 @@ public String toString() {
return child().toString() + " AS `" + name + "`#" + exprId;
}
- public <R, C> R accept(ExpressionVisitor<R, C> visitor, C context) {
- return visitor.visitAlias(this, context);
- }
-
@Override
public Expression withChildren(List<Expression> children) {
Preconditions.checkArgument(children.size() == 1);
return new Alias(exprId, children.get(0), name);
}
+ public <R, C> R accept(ExpressionVisitor<R, C> visitor, C context) {
Review Comment:
Style: we should put `override function` together
--
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]