2021-05-20 14:14:55 +00:00
|
|
|
<test>
|
2020-06-01 09:12:03 +00:00
|
|
|
<settings>
|
|
|
|
<parallel_view_processing>1</parallel_view_processing>
|
|
|
|
</settings>
|
|
|
|
|
2020-06-01 08:52:35 +00:00
|
|
|
<create_query>create table main_table (number UInt64) engine = MergeTree order by tuple();</create_query>
|
|
|
|
<create_query>create materialized view mv_1 engine = MergeTree order by tuple() as
|
2020-06-01 09:12:03 +00:00
|
|
|
select number, toString(number) from main_table where number % 13 != 0;</create_query>
|
2020-06-01 08:52:35 +00:00
|
|
|
<create_query>create materialized view mv_2 engine = MergeTree order by tuple() as
|
2020-06-01 09:12:03 +00:00
|
|
|
select number, toString(number) from main_table where number % 13 != 1;</create_query>
|
2020-06-01 08:52:35 +00:00
|
|
|
<create_query>create materialized view mv_3 engine = MergeTree order by tuple() as
|
2020-06-01 09:12:03 +00:00
|
|
|
select number, toString(number) from main_table where number % 13 != 3;</create_query>
|
2020-06-01 08:52:35 +00:00
|
|
|
<create_query>create materialized view mv_4 engine = MergeTree order by tuple() as
|
2020-06-01 09:12:03 +00:00
|
|
|
select number, toString(number) from main_table where number % 13 != 4;</create_query>
|
2020-06-01 08:52:35 +00:00
|
|
|
|
2021-10-02 08:51:39 +00:00
|
|
|
<fill_query>SYSTEM STOP MERGES main_table</fill_query>
|
|
|
|
<fill_query>SYSTEM STOP MERGES mt_1</fill_query>
|
|
|
|
<fill_query>SYSTEM STOP MERGES mt_2</fill_query>
|
|
|
|
<fill_query>SYSTEM STOP MERGES mt_3</fill_query>
|
|
|
|
<fill_query>SYSTEM STOP MERGES mt_4</fill_query>
|
|
|
|
|
2020-10-30 15:54:38 +00:00
|
|
|
<query>insert into main_table select number from numbers(10000000)</query>
|
2020-06-01 08:52:35 +00:00
|
|
|
|
|
|
|
<drop_query>drop table if exists main_table;</drop_query>
|
|
|
|
<drop_query>drop table if exists mv_1;</drop_query>
|
|
|
|
<drop_query>drop table if exists mv_2;</drop_query>
|
|
|
|
<drop_query>drop table if exists mv_3;</drop_query>
|
|
|
|
<drop_query>drop table if exists mv_4;</drop_query>
|
|
|
|
</test>
|