mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-15 20:24:07 +00:00
18 lines
646 B
XML
18 lines
646 B
XML
<test>
|
|
<create_query>
|
|
CREATE TABLE test_in_skip_idx
|
|
(
|
|
a UInt64,
|
|
s String,
|
|
INDEX idx s TYPE bloom_filter GRANULARITY 1
|
|
)
|
|
ENGINE = MergeTree() ORDER BY a
|
|
</create_query>
|
|
|
|
<fill_query>INSERT INTO test_in_skip_idx SELECT number, number FROM numbers(10000000)</fill_query>
|
|
<fill_query>OPTIMIZE TABLE test_in_skip_idx FINAL</fill_query>
|
|
|
|
<query>SELECT count() FROM test_in_skip_idx WHERE s IN (SELECT toString(number + 10000000) FROM numbers(100000)) SETTINGS use_skip_indexes = 0</query>
|
|
<drop_query>DROP TABLE IF EXISTS test_in_skip_idx</drop_query>
|
|
</test>
|