ClickHouse/tests/queries/0_stateless/03016_analyzer_groupby_fuzz_59796.sql
2024-03-19 19:03:35 +01:00

7 lines
646 B
SQL

SELECT
concat(concat(unhex('00'), concat(unhex('00'), concat(unhex(toFixedString('00', 2)), toFixedString(toFixedString(' key="v" ', 9), 9), concat(unhex('00'), toFixedString(' key="v" ', 9)), toFixedString(materialize(toLowCardinality(' key="v" ')), 9)), toFixedString(' key="v" ', 9)), toFixedString(' key="v" ', 9)), unhex('00'), ' key="v" ') AS haystack
GROUP BY
concat(unhex('00'), toFixedString(materialize(toFixedString(' key="v" ', 9)), 9), toFixedString(toFixedString('00', 2), toNullable(2)), toFixedString(toFixedString(toFixedString(' key="v" ', 9), 9), 9)),
concat(' key="v" ')
SETTINGS allow_experimental_analyzer = 1;