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

10 lines
472 B
XML

<test>
<create_query>CREATE TABLE simple_mergetree (EventDate Date, x UInt64) ENGINE = MergeTree ORDER BY x</create_query>
<fill_query>INSERT INTO simple_mergetree SELECT number, today() + intDiv(number, 10000000) FROM numbers_mt(100000000)</fill_query>
<fill_query>OPTIMIZE TABLE simple_mergetree FINAL</fill_query>
<query short="1">SELECT count() FROM simple_mergetree</query>
<drop_query>DROP TABLE IF EXISTS simple_mergetree</drop_query>
</test>