mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 18:12:02 +00:00
Fix test 01934_constexpr_aggregate_function_parameters
This commit is contained in:
parent
16d9f3766b
commit
77bbe2558b
@ -1,11 +1,10 @@
|
|||||||
SELECT groupArray(2 + 3)(number) FROM numbers(10);
|
SELECT groupArray(2 + 3)(number) FROM numbers(10);
|
||||||
SELECT groupArray('5'::UInt8)(number) FROM numbers(10);
|
SELECT groupArray('5'::UInt8)(number) FROM numbers(10);
|
||||||
|
|
||||||
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 134 }
|
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 36 }
|
||||||
|
Loading…
Reference in New Issue
Block a user