morrySnow commented on code in PR #52993:
URL: https://github.com/apache/doris/pull/52993#discussion_r2194182051
##########
fe/fe-core/src/main/java/org/apache/doris/nereids/rules/analysis/BindRelation.java:
##########
@@ -292,8 +292,8 @@ private LogicalPlan
preAggForRandomDistribution(LogicalOlapScan olapScan) {
if (function == null) {
return olapScan;
}
- Alias alias = new Alias(exprId, ImmutableList.of(function),
col.getName(),
- olapScan.qualified(), true);
+ Alias alias = new Alias(StatementScopeIdGenerator.newExprId(),
ImmutableList.of(function),
Review Comment:
add a new ctor for Alias accept four args as children, name, qualifier and
nameFromChild
--
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]