mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-04 13:32:13 +00:00
17 lines
292 B
MySQL
17 lines
292 B
MySQL
|
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;
|