ClickHouse/tests/queries/0_stateless/03216_arrayWithConstant_limits.sql
Alexey Milovidov 7a066a6505 Add a test
2024-08-03 23:48:51 +02:00

4 lines
305 B
SQL

SELECT arrayWithConstant(96142475, ['qMUF']); -- { serverError TOO_LARGE_ARRAY_SIZE }
SELECT arrayWithConstant(100000000, materialize([[[[[[[[[['Hello, world!']]]]]]]]]])); -- { serverError TOO_LARGE_ARRAY_SIZE }
SELECT length(arrayWithConstant(10000000, materialize([[[[[[[[[['Hello world']]]]]]]]]])));