cloud-fan commented on code in PR #44397:
URL: https://github.com/apache/spark/pull/44397#discussion_r1443047767
##########
sql/catalyst/src/main/java/org/apache/spark/sql/connector/expressions/aggregate/GeneralAggregateFunc.java:
##########
@@ -51,11 +53,21 @@ public final class GeneralAggregateFunc extends
ExpressionWithToString implement
private final String name;
private final boolean isDistinct;
private final Expression[] children;
+ private final Expression[] orderingWithinGroups;
public GeneralAggregateFunc(String name, boolean isDistinct, Expression[]
children) {
this.name = name;
this.isDistinct = isDistinct;
this.children = children;
+ this.orderingWithinGroups = null;
Review Comment:
empty array is a better default
--
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]