julianhyde commented on code in PR #5074:
URL: https://github.com/apache/calcite/pull/5074#discussion_r3537972149


##########
core/src/main/java/org/apache/calcite/adapter/enumerable/EnumerableAggregate.java:
##########
@@ -67,12 +67,6 @@ public EnumerableAggregate(
         throw new InvalidRelException(
             "within-distinct aggregation not supported");
       }
-      AggImplementor implementor2 =
-          RexImpTable.INSTANCE.get(aggCall.getAggregation(), false);
-      if (implementor2 == null) {
-        throw new InvalidRelException(
-            "aggregation " + aggCall.getAggregation() + " not supported");

Review Comment:
   Can you explain why you think this block of code should be deleted?



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

Reply via email to