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
461 B
MySQL
Raw Normal View History

-- Regression test for https://github.com/ClickHouse/ClickHouse/issues/59919
SET allow_experimental_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;