mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
Add a test
This commit is contained in:
parent
9dd0a76220
commit
acd6e4f0aa
33
tests/queries/0_stateless/01944_range_max_elements.reference
Normal file
33
tests/queries/0_stateless/01944_range_max_elements.reference
Normal 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]
|
7
tests/queries/0_stateless/01944_range_max_elements.sql
Normal file
7
tests/queries/0_stateless/01944_range_max_elements.sql
Normal 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);
|
Loading…
Reference in New Issue
Block a user