Add a test

This commit is contained in:
Alexey Milovidov 2021-07-14 12:13:40 +03:00
parent 9dd0a76220
commit acd6e4f0aa
2 changed files with 40 additions and 0 deletions

View File

@ -0,0 +1,33 @@
[]
[0]
[0,1]
[]
[0]
[0,1]
[]
[0]
[0,1]
[]
[]
[0]
[0,1]
[]
[0]
[0,1]
[]
[0]
[0,1]
[]
[0]
[]
[0]
[0,1]
[]
[0]
[0,1]
[]
[0]
[0,1]
[]
[0]
[0,1]

View File

@ -0,0 +1,7 @@
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);