ClickHouse/tests/queries/0_stateless/03003_arrayEnumerate_crash.sql

3 lines
304 B
MySQL
Raw Normal View History

2024-03-04 12:14:13 +00:00
SELECT arrayEnumerateUniqRanked(arrayEnumerateUniqRanked([[1, 2, 3], [2, 2, 1], [3]]), materialize(1 AS x) OR toLowCardinality(-9223372036854775808)); -- { serverError BAD_ARGUMENTS }
SELECT arrayEnumerateUniqRanked([[1, 2, 3], [2, 2, 1], [3]], number) FROM numbers(10); -- { serverError BAD_ARGUMENTS }