ClickHouse/tests/performance/read_from_comp_parts.xml
2024-06-21 23:42:56 +01:00

25 lines
936 B
XML

<test>
<create_query>
CREATE TABLE mt_comp_parts
ENGINE = MergeTree
ORDER BY (c1, c2)
SETTINGS min_rows_for_wide_part = 1000000000 AS
SELECT *
FROM generateRandom('c1 UInt32, c2 UInt64, s1 String, arr1 Array(UInt32), c3 UInt64, s2 String', 0, 5, 6)
LIMIT 50000000
SETTINGS max_insert_threads = 8
</create_query>
<settings>
<max_threads>8</max_threads>
</settings>
<query short="1">SELECT count() FROM mt_comp_parts WHERE NOT ignore(s1)</query>
<query>SELECT count() FROM mt_comp_parts WHERE NOT ignore(c2, s1, arr1, s2)</query>
<query>SELECT count() FROM mt_comp_parts WHERE NOT ignore(c1, s1, c3)</query>
<query>SELECT count() FROM mt_comp_parts WHERE NOT ignore(c1, c2, c3)</query>
<query>SELECT count() FROM mt_comp_parts WHERE NOT ignore(*)</query>
<drop_query>DROP TABLE IF EXISTS mt_comp_parts</drop_query>
</test>