-
Notifications
You must be signed in to change notification settings - Fork 7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DB::Exception: Missing columns #47288
Comments
It should be a bug, I can produce it too and I cannot find a workaround yet. |
@Alex-Cheng provide a repro |
https://fiddle.clickhouse.com/4ab4f391-34b0-42f1-97b0-7e7a5a3b0e0b If the alias is all ASCII code, it works well. The issue occur when the alias is Unicode(non-ascii character), such as |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have a SQL such like
select 1 as
c0from ( 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
T0where
T0.
字段= '1'
I got a Missing columns Error.
When I replace all Chinese characters with English characters, the SQL works。
In addition, When I change the alias with some other Chinese characters that different to column name, the SQL also works.
Clickhouse Server version is ClickHouse 23.2.3.17.
Is it a bug?
Thanks!
The text was updated successfully, but these errors were encountered: