From cccf8aa8a84043cd51abd706f98799f5e55eafe9 Mon Sep 17 00:00:00 2001 From: Alexey Milovidov Date: Tue, 28 Nov 2017 05:21:32 +0300 Subject: [PATCH] Fixed test [#CLICKHOUSE-2]. --- .../queries/0_stateless/00327_summing_composite_nested.sql | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/dbms/tests/queries/0_stateless/00327_summing_composite_nested.sql b/dbms/tests/queries/0_stateless/00327_summing_composite_nested.sql index a9ea7d399a7..43b37616941 100644 --- a/dbms/tests/queries/0_stateless/00327_summing_composite_nested.sql +++ b/dbms/tests/queries/0_stateless/00327_summing_composite_nested.sql @@ -18,11 +18,7 @@ SELECT d, k, m.k1ID, m.k2Key, m.k3Type, m.s FROM test.summing_composite_key ARRA SELECT d, k, m.k1ID, m.k2Key, m.k3Type, sum(m.s) FROM test.summing_composite_key ARRAY JOIN SecondMap AS m GROUP BY d, k, m.k1ID, m.k2Key, m.k3Type ORDER BY d, k, m.k1ID, m.k2Key, m.k3Type; SELECT d, k, m.k1ID, m.k2Key, m.k3Type, m.s FROM test.summing_composite_key FINAL ARRAY JOIN SecondMap AS m ORDER BY d, k, m.k1ID, m.k2Key, m.k3Type, m.s; -OPTIMIZE TABLE test.summing_composite_key; -OPTIMIZE TABLE test.summing_composite_key; -OPTIMIZE TABLE test.summing_composite_key; -OPTIMIZE TABLE test.summing_composite_key; -OPTIMIZE TABLE test.summing_composite_key; +OPTIMIZE TABLE test.summing_composite_key PARTITION 200001 FINAL; SELECT * FROM test.summing_composite_key ORDER BY d, k, _part_index;