mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 08:32:02 +00:00
Added zeros test.
This commit is contained in:
parent
655ba5b0e7
commit
1d083ed812
48
dbms/tests/queries/0_stateless/01096_zeros.reference
Normal file
48
dbms/tests/queries/0_stateless/01096_zeros.reference
Normal file
@ -0,0 +1,48 @@
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
-
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
-
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
-
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
-
|
||||
0 1000000000
|
||||
0 1000000000
|
||||
0 1000000000
|
||||
0 1000000000
|
12
dbms/tests/queries/0_stateless/01096_zeros.sql
Normal file
12
dbms/tests/queries/0_stateless/01096_zeros.sql
Normal file
@ -0,0 +1,12 @@
|
||||
select zero from system.zeros limit 10 settings max_block_size = 3;
|
||||
select '-';
|
||||
select zero from system.zeros_mt limit 10 settings max_block_size = 3, max_threads = 2;
|
||||
select '-';
|
||||
select zero from zeros(10) settings max_block_size = 3;
|
||||
select '-';
|
||||
select zero from zeros_mt(10) settings max_block_size = 3, max_threads=3;
|
||||
select '-';
|
||||
select sum(zero), count() from (select * from system.zeros limit 1000000000);
|
||||
select sum(zero), count() from (select * from system.zeros_mt limit 1000000000);
|
||||
select sum(zero), count() from zeros(1000000000);
|
||||
select sum(zero), count() from zeros_mt(1000000000);
|
Loading…
Reference in New Issue
Block a user