mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-19 21:03:51 +00:00
15 lines
667 B
MySQL
15 lines
667 B
MySQL
|
CREATE TABLE set_index_not__fuzz_0 (`name` String, `status` Enum8('alive' = 0, 'rip' = 1), INDEX idx_status status TYPE set(2) GRANULARITY 1)
|
||
|
ENGINE = MergeTree ORDER BY name
|
||
|
SETTINGS index_granularity = 8192;
|
||
|
|
||
|
INSERT INTO set_index_not__fuzz_0 SELECT * from generateRandom() limit 1;
|
||
|
|
||
|
SELECT
|
||
|
38,
|
||
|
concat(position(concat(concat(position(concat(toUInt256(3)), 'ca', 2), 3),NULLIF(1, materialize(toLowCardinality(1)))), toLowCardinality(toNullable('ca'))), concat(NULLIF(1, 1), concat(3), toNullable(3)))
|
||
|
FROM set_index_not__fuzz_0
|
||
|
GROUP BY
|
||
|
toNullable(3),
|
||
|
concat(concat(NULLIF(1, 1), toNullable(toNullable(3))))
|
||
|
SETTINGS allow_experimental_analyzer = 1;
|