englefly commented on code in PR #14964:
URL: https://github.com/apache/doris/pull/14964#discussion_r1059647567
##########
fe/fe-core/src/main/java/org/apache/doris/nereids/trees/expressions/functions/agg/Avg.java:
##########
@@ -64,13 +67,18 @@ protected List<DataType> intermediateTypes() {
@Override
public AggregateFunction withDistinctAndChildren(boolean isDistinct,
List<Expression> children) {
Preconditions.checkArgument(children.size() == 1);
- return new Avg(isDistinct, children.get(0));
+ return new Avg(isDistinct, isAlwaysNullable, children.get(0));
Review Comment:
什么情况下 isAlwaysNullable=false?
--
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]