lowka commented on code in PR #2312:
URL: https://github.com/apache/ignite-3/pull/2312#discussion_r1275219068


##########
modules/sql-engine/src/main/java/org/apache/ignite/internal/sql/engine/exec/exp/agg/Accumulators.java:
##########
@@ -118,6 +117,7 @@ private Supplier<Accumulator> avgFactory(AggregateCall 
call) {
     private Supplier<Accumulator> sumFactory(AggregateCall call) {
         switch (call.type.getSqlTypeName()) {
             case BIGINT:
+                return () -> new Sum(new LongSumEmptyIsZero());

Review Comment:
   At the moment COUNT returns BIGINT. It MAP/REDUCE version of it should also 
produce the same type.



-- 
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: notifications-unsubscr...@ignite.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to