From 32e3da3f52c4ca4484d2594e17427cc3f0fa531e Mon Sep 17 00:00:00 2001 From: Alexey Milovidov Date: Thu, 13 Sep 2018 06:13:29 +0300 Subject: [PATCH] Merge #3035 --- .../queries/0_stateless/00705_aggregate_states_addition.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dbms/tests/queries/0_stateless/00705_aggregate_states_addition.sql b/dbms/tests/queries/0_stateless/00705_aggregate_states_addition.sql index 65f42313ccb..02820ef1025 100644 --- a/dbms/tests/queries/0_stateless/00705_aggregate_states_addition.sql +++ b/dbms/tests/queries/0_stateless/00705_aggregate_states_addition.sql @@ -8,8 +8,8 @@ INSERT INTO add_aggregate VALUES(3, 1); SELECT countMerge(x + y) FROM (SELECT countState(a) as x, countState(b) as y from add_aggregate); SELECT sumMerge(x + y), sumMerge(x), sumMerge(y) FROM (SELECT sumState(a) as x, sumState(b) as y from add_aggregate); -SELECT sumMerge(x) FROM (SELECT sumState(a) + countState(b) as x FROM add_aggregate); -- { serverError 419 } -SELECT sumMerge(x) FROM (SELECT sumState(a) + sumState(toInt32(b)) as x FROM add_aggregate); -- { serverError 419 } +SELECT sumMerge(x) FROM (SELECT sumState(a) + countState(b) as x FROM add_aggregate); -- { serverError 421 } +SELECT sumMerge(x) FROM (SELECT sumState(a) + sumState(toInt32(b)) as x FROM add_aggregate); -- { serverError 421 } SELECT minMerge(x) FROM (SELECT minState(a) + minState(b) as x FROM add_aggregate);