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


##########
modules/sql-engine/src/test/java/org/apache/ignite/internal/sql/engine/planner/AbstractAggregatePlannerTest.java:
##########
@@ -847,6 +850,20 @@ enum TestCase {
          * <p>Distribution identity(1)
          */
         CASE_23C("SELECT val0, AVG(val1) FROM test GROUP BY val0", 
schema(identity(1))),
+
+        /**
+         * Query: SELECT COUNT(val0), COUNT(DISTINCT(val1) from test.
+         *
+         * <p>Distribution single()
+         */
+        CASE_24_1("SELECT COUNT(val0), COUNT(DISTINCT(val1)) from test", 
schema(single())),
+
+        /**
+         * Query: SELECT COUNT(val0), COUNT(DISTINCT(val1) from test.
+         *
+         * <p>Distribution hash(0)
+         */
+        CASE_24_1A("SELECT COUNT(val0), COUNT(DISTINCT(val1)) from test", 
schema(hash()))

Review Comment:
   Added test cases for both  hash(val0) and hash(val1).



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