diff --git a/dbms/tests/queries/0_stateless/00089_group_by_arrays_of_fixed.reference b/dbms/tests/queries/0_stateless/00089_group_by_arrays_of_fixed.reference index b5b7b404df5..a166a4ec1e3 100644 --- a/dbms/tests/queries/0_stateless/00089_group_by_arrays_of_fixed.reference +++ b/dbms/tests/queries/0_stateless/00089_group_by_arrays_of_fixed.reference @@ -6,8 +6,8 @@ [0,0,0,0,0,0] 45 [1] 37 [0,0,0,0,0,0,0] 23 -[1,1] 20 [0,0,0,0,0,0,0,0] 20 +[1,1] 20 [0,0,0,0,0,0,0,0,0,0,0] 16 [0,0,0,0,0,0,0,0,0,0] 15 [0,0,0,0,0,0,0,0,0] 14 @@ -16,396 +16,396 @@ [0,0,0,0,0,0,0,0,0,0,0,0] 11 [1,1,0] 9 [1,1,1,1] 9 -[1,0,1,1] 8 [1,0,1] 8 +[1,0,1,1] 8 [0,1] 7 [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0] 6 [1,1,1,1,1] 6 -[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0] 4 [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0] 4 +[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0] 4 [1,0,1,0,1] 4 [1,1,1,1,1,0] 4 -[1,1,1,1,1,1,1,1] 3 -[1,1,1,1,1,1] 3 -[1,1,0,1] 3 -[1,1,1,1,0] 3 -[1,1,1,0,1,1] 3 -[1,0,0] 3 [0,0,0,0,0,0,0,0,0,0,0,0,0,0] 3 [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0] 3 -[1,1,1,1,1,1,1] 3 [0,1,0,1,1,0,1] 3 [0,1,1] 3 -[1,0,1,1,0] 2 -[1,0,1,1,1,1] 2 -[0,1,0,1,0,1,1,1] 2 +[1,0,0] 3 +[1,1,0,1] 3 +[1,1,1,0,1,1] 3 +[1,1,1,1,0] 3 +[1,1,1,1,1,1] 3 +[1,1,1,1,1,1,1] 3 +[1,1,1,1,1,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,1,1,1,1,1,1,0,1,0,0,1,0] 1 +[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1] 1 +[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1] 1 diff --git a/dbms/tests/queries/0_stateless/00089_group_by_arrays_of_fixed.sql b/dbms/tests/queries/0_stateless/00089_group_by_arrays_of_fixed.sql index 7f4ad118895..60ec1cb3396 100644 --- a/dbms/tests/queries/0_stateless/00089_group_by_arrays_of_fixed.sql +++ b/dbms/tests/queries/0_stateless/00089_group_by_arrays_of_fixed.sql @@ -1 +1 @@ -SELECT arr, count() AS c FROM (SELECT arrayMap(x -> x % 2, groupArray(number)) AS arr FROM (SELECT number FROM system.numbers LIMIT 10000) GROUP BY number % ((number * 0xABCDEF0123456789 % 1234) + 1)) GROUP BY arr ORDER BY c DESC; +SELECT arr, count() AS c FROM (SELECT arrayMap(x -> x % 2, groupArray(number)) AS arr FROM (SELECT number FROM system.numbers LIMIT 10000) GROUP BY number % ((number * 0xABCDEF0123456789 % 1234) + 1)) GROUP BY arr ORDER BY c DESC, arr ASC;