2020-10-30 15:12:15 +00:00
|
|
|
<test>
|
2019-06-14 19:11:41 +00:00
|
|
|
<create_query>CREATE TABLE simple_mergetree (EventDate Date, x UInt64) ENGINE = MergeTree ORDER BY x</create_query>
|
2020-03-02 16:13:04 +00:00
|
|
|
<fill_query>INSERT INTO simple_mergetree SELECT number, today() + intDiv(number, 10000000) FROM numbers_mt(100000000)</fill_query>
|
2019-06-14 19:36:10 +00:00
|
|
|
<fill_query>OPTIMIZE TABLE simple_mergetree FINAL</fill_query>
|
|
|
|
|
2020-06-26 19:11:43 +00:00
|
|
|
<query short="1">SELECT count() FROM simple_mergetree</query>
|
2019-06-14 19:36:10 +00:00
|
|
|
|
2019-06-14 19:11:41 +00:00
|
|
|
<drop_query>DROP TABLE IF EXISTS simple_mergetree</drop_query>
|
|
|
|
</test>
|