ClickHouse/tests/queries/0_stateless/01944_range_max_elements.sql
2021-07-21 14:16:05 +03:00

8 lines
289 B
SQL

SET function_range_max_elements_in_block = 10;
SELECT range(number % 3) FROM numbers(10);
SELECT range(number % 3) FROM numbers(11);
SELECT range(number % 3) FROM numbers(12); -- { serverError 69 }
SET function_range_max_elements_in_block = 12;
SELECT range(number % 3) FROM numbers(12);