ClickHouse/tests/performance/codec_none.xml

14 lines
486 B
XML
Raw Normal View History

2021-03-26 19:12:56 +00:00
<test>
<preconditions>
2021-08-27 21:32:21 +00:00
<table_exists>test.hits</table_exists>
2021-03-26 19:12:56 +00:00
</preconditions>
<create_query>CREATE TABLE hits_none (Title String CODEC(NONE)) ENGINE = MergeTree ORDER BY tuple()</create_query>
<fill_query>INSERT INTO hits_none SELECT Title FROM test.hits</fill_query>
<fill_query>OPTIMIZE TABLE hits_none FINAL</fill_query>
<query><![CDATA[SELECT sum(length(Title)) FROM hits_none]]></query>
<drop_query>DROP TABLE hits_none</drop_query>
</test>