ClickHouse/tests/performance/views_max_insert_threads.xml
Azat Khuzhin 4ae7db8369 Fix max_insert_threads while pushing to views
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-07-03 15:14:05 +03:00

12 lines
664 B
XML

<!-- https://github.com/ClickHouse/ClickHouse/issues/37900 -->
<test>
<create_query>create table views_max_insert_threads_null (a UInt64) Engine = Null</create_query>
<create_query>create materialized view views_max_insert_threads_mv Engine = Null AS select now() as ts, max(a) from views_max_insert_threads_null group by ts</create_query>
<query>insert into views_max_insert_threads_null select * from numbers_mt(3000000000) settings max_threads = 16, max_insert_threads=16</query>
<drop_query>drop table if exists views_max_insert_threads_null</drop_query>
<drop_query>drop table if exists views_max_insert_threads_mv</drop_query>
</test>