Add test for #61600

This commit is contained in:
Raúl Marín 2024-03-19 19:11:32 +01:00
parent d568380800
commit 73d601d231
2 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1 @@
38 \N

View File

@ -0,0 +1,14 @@
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;