ClickHouse/tests/queries/0_stateless/02991_count_rewrite_analyzer.sql

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
449 B
MySQL
Raw Normal View History

-- Regression test for https://github.com/ClickHouse/ClickHouse/issues/59919
2024-07-12 12:49:26 +00:00
SET enable_analyzer=1;
SELECT toTypeName(sum(toNullable('a') IN toNullable('a'))) AS x;
SELECT toTypeName(count(toNullable('a') IN toNullable('a'))) AS x;
SELECT toTypeName(sum(toFixedString('a', toLowCardinality(toNullable(1))) IN toFixedString('a', 1))) AS x;
SELECT toTypeName(count(toFixedString('a', toLowCardinality(toNullable(1))) IN toFixedString('a', 1))) AS x;