mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 17:12:03 +00:00
23 lines
1.0 KiB
XML
23 lines
1.0 KiB
XML
|
<test>
|
||
|
<create_query>create table t_lz4(a UInt64) engine=MergeTree order by tuple()</create_query>
|
||
|
<create_query>create table t_lz4_norm(a UInt64) engine=MergeTree order by tuple()</create_query>
|
||
|
<create_query>create table t_lz4_uncomp(a UInt32) engine=MergeTree order by a</create_query>
|
||
|
|
||
|
<fill_query>insert into t_lz4 select number % 100 from numbers_mt(5e7) order by rand()</fill_query>
|
||
|
<fill_query>optimize table t_lz4 final</fill_query>
|
||
|
|
||
|
<fill_query>insert into t_lz4_norm select number from numbers_mt(5e7) order by rand()</fill_query>
|
||
|
<fill_query>optimize table t_lz4_norm final</fill_query>
|
||
|
|
||
|
<fill_query>insert into t_lz4_uncomp select number from numbers_mt(5e7)</fill_query>
|
||
|
<fill_query>optimize table t_lz4_uncomp final</fill_query>
|
||
|
|
||
|
<query>select a from t_lz4 format Null</query>
|
||
|
<query>select a from t_lz4_norm format Null</query>
|
||
|
<query>select a from t_lz4_uncomp format Null</query>
|
||
|
|
||
|
<drop_query>drop table t_lz4</drop_query>
|
||
|
<drop_query>drop table t_lz4_norm</drop_query>
|
||
|
<drop_query>drop table t_lz4_uncomp</drop_query>
|
||
|
</test>
|