CREATE TABLE test_in_skip_idx
(
a UInt64,
s String,
INDEX idx s TYPE bloom_filter GRANULARITY 1
)
ENGINE = MergeTree() ORDER BY a
INSERT INTO test_in_skip_idx SELECT number, number FROM numbers(10000000)
OPTIMIZE TABLE test_in_skip_idx FINAL
SELECT count() FROM test_in_skip_idx WHERE s IN (SELECT toString(number + 10000000) FROM numbers(100000)) SETTINGS use_skip_indexes = 0
DROP TABLE IF EXISTS test_in_skip_idx