ClickHouse/tests/performance/merge_tree_many_partitions.xml
Alexander Kuzmenkov 5d324751a0 fix more queries
2020-06-26 22:11:43 +03:00

13 lines
457 B
XML

<test>
<create_query>CREATE TABLE bad_partitions (x UInt64) ENGINE = MergeTree PARTITION BY x ORDER BY x</create_query>
<fill_query>INSERT INTO bad_partitions SELECT * FROM numbers(10000)</fill_query>
<settings>
<max_partitions_per_insert_block>0</max_partitions_per_insert_block>
</settings>
<query short="1">SELECT count() FROM bad_partitions</query>
<drop_query>DROP TABLE IF EXISTS bad_partitions</drop_query>
</test>