ClickHouse/tests/queries/0_stateless/02967_index_hint_crash.sql
2024-01-19 14:59:33 +00:00

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;