From 4e64d5198cbf5d2118d3ebc1d7533dd1b20ff40c Mon Sep 17 00:00:00 2001 From: Alexey Milovidov Date: Sun, 30 Nov 2014 08:40:41 +0300 Subject: [PATCH] dbms: fixed test [#METR-13919]. --- .../00089_group_by_arrays_of_fixed.reference | 738 +++++++++--------- .../00089_group_by_arrays_of_fixed.sql | 2 +- 2 files changed, 370 insertions(+), 370 deletions(-) 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 -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1,1,1,1,1,1,1,1,1,0,1,1,0,1,0,1,1,1,0,1,0,0,0,0,0,1,0,0,1,1,1,1,0,1,1,0,0] 1 +[1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,0,1,1,1,1,1,1,1,0,0,1,1,1,1,0,0,1,0,1,0,1,0] 1 +[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,1,0,0,0,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;