Skip to content

Commit

Permalink
Close: #47288
Browse files Browse the repository at this point in the history
  • Loading branch information
nikitamikhaylov committed Apr 10, 2024
1 parent f705b95 commit 2ae4e7c
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/queries/0_stateless/03110_unicode_alias.reference
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
1
1
33 changes: 33 additions & 0 deletions tests/queries/0_stateless/03110_unicode_alias.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
-- https://github.com/ClickHouse/ClickHouse/issues/47288

SET allow_experimental_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';

0 comments on commit 2ae4e7c

Please sign in to comment.