From d27a83ee217421d63f79dacd1a01fbc7f7bf1154 Mon Sep 17 00:00:00 2001 From: Vitaly Baranov Date: Sat, 4 Feb 2023 18:38:59 +0100 Subject: [PATCH] Fix error code in test "01934_constexpr_aggregate_function_parameters" (parameter of groupArray must be const). --- .../01934_constexpr_aggregate_function_parameters.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/queries/0_stateless/01934_constexpr_aggregate_function_parameters.sql b/tests/queries/0_stateless/01934_constexpr_aggregate_function_parameters.sql index 3ab969ca256..defc3d7b686 100644 --- a/tests/queries/0_stateless/01934_constexpr_aggregate_function_parameters.sql +++ b/tests/queries/0_stateless/01934_constexpr_aggregate_function_parameters.sql @@ -5,7 +5,7 @@ SELECT groupArray()(number) FROM numbers(10); -- { serverError 36 } SELECT groupArray(NULL)(number) FROM numbers(10); -- { serverError 36 } SELECT groupArray(NULL + NULL)(number) FROM numbers(10); -- { serverError 36 } SELECT groupArray([])(number) FROM numbers(10); -- { serverError 36 } -SELECT groupArray(throwIf(1))(number) FROM numbers(10); -- { serverError 395 } +SELECT groupArray(throwIf(1))(number) FROM numbers(10); -- { serverError 134 } -- Not the best error message, can be improved. SELECT groupArray(number)(number) FROM numbers(10); -- { serverError 47 }