Fix error code in test "01934_constexpr_aggregate_function_parameters" (parameter of groupArray must be const).

This commit is contained in:
Vitaly Baranov 2023-02-04 18:38:59 +01:00
parent db500b856f
commit d27a83ee21

View File

@ -5,7 +5,7 @@ SELECT groupArray()(number) FROM numbers(10); -- { serverError 36 }
SELECT groupArray(NULL)(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(NULL + NULL)(number) FROM numbers(10); -- { serverError 36 }
SELECT groupArray([])(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. -- Not the best error message, can be improved.
SELECT groupArray(number)(number) FROM numbers(10); -- { serverError 47 } SELECT groupArray(number)(number) FROM numbers(10); -- { serverError 47 }