mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-30 11:32:03 +00:00
14 lines
492 B
XML
14 lines
492 B
XML
|
<test>
|
||
|
<preconditions>
|
||
|
<table_exists>hits_10m_single</table_exists>
|
||
|
</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>
|