From dd007c5ce1b69c9821c866a94f7662e94628c4ce Mon Sep 17 00:00:00 2001 From: Andrei Bodrov Date: Wed, 18 Dec 2019 15:48:40 +0300 Subject: [PATCH] typo :( --- dbms/tests/queries/0_stateless/01035_avg_weighted.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbms/tests/queries/0_stateless/01035_avg_weighted.sh b/dbms/tests/queries/0_stateless/01035_avg_weighted.sh index 231e9ae2b6c..4dc80d466e1 100755 --- a/dbms/tests/queries/0_stateless/01035_avg_weighted.sh +++ b/dbms/tests/queries/0_stateless/01035_avg_weighted.sh @@ -8,4 +8,4 @@ ${CLICKHOUSE_CLIENT} --query="SELECT avgWeighted(x, weight) FROM (SELECT t.1 AS ${CLICKHOUSE_CLIENT} --query="SELECT avgWeighted(x, weight) FROM (SELECT t.1 AS x, t.2 AS weight FROM (SELECT arrayJoin([(1, 0), (2, 0), (3, 0), (4, 0), (5, 0)]) AS t));" echo `${CLICKHOUSE_CLIENT} --server_logs_file=/dev/null --query="SELECT avgWeighted(toDecimal64(0, 0), toFloat64(0))" 2>&1` \ - | grep -c 'Code: 43. DB::Exception: .* DB::Exception:.* Different types .* of argument for aggregate function avgWeighted' + | grep -c 'Code: 43. DB::Exception: .* DB::Exception:.* Different types .* of arguments for aggregate function avgWeighted'