mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-16 04:32:33 +00:00
19 lines
605 B
XML
19 lines
605 B
XML
<test>
|
|
|
|
<type>loop</type>
|
|
|
|
<stop_conditions>
|
|
<all_of>
|
|
<iterations>10</iterations>
|
|
</all_of>
|
|
</stop_conditions>
|
|
|
|
<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(1000000000)</fill_query>
|
|
<fill_query>OPTIMIZE TABLE simple_mergetree FINAL</fill_query>
|
|
|
|
<query>SELECT count() FROM simple_mergetree</query>
|
|
|
|
<drop_query>DROP TABLE IF EXISTS simple_mergetree</drop_query>
|
|
</test>
|