ClickHouse/tests/queries/0_stateless/01944_range_max_elements.sql

8 lines
289 B
MySQL
Raw Normal View History

2021-07-14 09:13:40 +00:00
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);