mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-05 15:21:43 +00:00
97f2a2213e
* Move some code outside dbms/src folder * Fix paths
13 lines
588 B
SQL
13 lines
588 B
SQL
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 10000000);
|
|
select sum(zero), count() from (select * from system.zeros_mt limit 10000000);
|
|
select sum(zero), count() from zeros(10000000);
|
|
select sum(zero), count() from zeros_mt(10000000);
|