2021-05-14 08:18:27 +00:00
|
|
|
DROP TABLE IF EXISTS test;
|
2023-08-11 01:27:41 +00:00
|
|
|
CREATE TABLE test(a Int, b Int) Engine=ReplacingMergeTree order by a SETTINGS index_granularity = 8192, index_granularity_bytes = '10Mi';
|
2021-05-14 08:18:27 +00:00
|
|
|
INSERT INTO test select number, number from numbers(5);
|
|
|
|
INSERT INTO test select number, number from numbers(5,2);
|
|
|
|
set max_threads =1;
|
2024-01-11 03:38:32 +00:00
|
|
|
explain pipeline select * from test final SETTINGS enable_vertical_final = 0;
|
2021-05-14 08:18:27 +00:00
|
|
|
select * from test final;
|
|
|
|
set max_threads =2;
|
2024-01-11 03:38:32 +00:00
|
|
|
explain pipeline select * from test final SETTINGS enable_vertical_final = 0;
|
2021-05-14 08:18:27 +00:00
|
|
|
DROP TABLE test;
|