rubenada commented on code in PR #6523:
URL: https://github.com/apache/hive/pull/6523#discussion_r3615501462


##########
ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/reloperators/HiveAggregate.java:
##########
@@ -75,8 +75,8 @@ private static AggregateCall replaceAggFunction(RelDataType 
rowType, AggregateCa
         SqlTypeUtil.projectTypes(rowType, aggCall.getArgList()),
         aggCall.getType());
     return AggregateCall.create(aggFunction, aggCall.isDistinct(), 
aggCall.isApproximate(), aggCall.ignoreNulls(),
-        aggCall.getArgList(), aggCall.filterArg, aggCall.distinctKeys, 
aggCall.getCollation(), aggCall.getType(),
-        aggCall.getName());
+        aggCall.rexList, aggCall.getArgList(), aggCall.filterArg, 
aggCall.distinctKeys, aggCall.getCollation(),
+        aggCall.getType(), aggCall.getName());

Review Comment:
   Yes, that's convenient. Thanks for logging the issue.
   I thought of that when I touched this code, but forgot to create the Jira 
ticket. I've file a PR for the proposed change in Calcite.



-- 
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]

Reply via email to