ClickHouse/tests/queries/0_stateless/03110_unicode_alias.sql
2024-08-05 15:29:14 +00:00

34 lines
735 B
SQL
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

-- https://github.com/ClickHouse/ClickHouse/issues/47288
SET enable_analyzer=1;
select 1 as `c0`
from (
select C.`` AS ``
from (
select 2 as bb
) A
LEFT JOIN (
select '1' as ``
) C ON 1 = 1
LEFT JOIN (
select 1 as a
) D ON 1 = 1
) as `T0`
where `T0`.`` = '1';
select 1 as `c0`
from (
select C.`` AS ``
from (
select 2 as bb
) A
LEFT JOIN (
select '1' as ``
) C ON 1 = 1
LEFT JOIN (
select 1 as a
) D ON 1 = 1
) as `T0`
where `T0`.`` = '1';