mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-05 05:52:05 +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;
|