ClickHouse/tests/queries/0_stateless/01944_range_max_elements.sql
Alexey Milovidov acd6e4f0aa Add a test
2021-07-14 12:13:40 +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);