mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 09:02:00 +00:00
17 lines
292 B
SQL
17 lines
292 B
SQL
CREATE TABLE tab
|
|
(
|
|
`foo` Array(LowCardinality(String)),
|
|
INDEX idx foo TYPE bloom_filter GRANULARITY 1
|
|
)
|
|
ENGINE = MergeTree
|
|
PRIMARY KEY tuple();
|
|
|
|
INSERT INTO tab SELECT if(number % 2, ['value'], [])
|
|
FROM system.numbers
|
|
LIMIT 10000;
|
|
|
|
SELECT *
|
|
FROM tab
|
|
PREWHERE indexHint()
|
|
FORMAT Null;
|