ClickHouse/tests/queries/0_stateless/03089_analyzer_alias_replacement.sql

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

10 lines
253 B
MySQL
Raw Normal View History

-- https://github.com/ClickHouse/ClickHouse/issues/61950
SET allow_experimental_analyzer=1;
with dummy + 1 as dummy select dummy from system.one;
WITH dummy + 3 AS dummy
SELECT dummy + 1 AS y
FROM system.one
SETTINGS enable_global_with_statement = 1;