-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
Fix simpliest case of cyclic aliases #9603
Conversation
@@ -91,14 +91,21 @@ void QueryNormalizer::visit(ASTIdentifier & node, ASTPtr & ast, Data & data) | |||
return; | |||
} | |||
|
|||
/// We are alias for other column (node.name), but we are alias by |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cannot parse the comment. Are we an alias? Yes, we are. %)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I also found this comment not clear enough... but still understandable.
Fixed in master. |
Outdated baseline. Actually now it's better. |
Fix simpliest case of cyclic aliases (cherry picked from commit 0d7336c)
Fix simpliest case of cyclic aliases (cherry picked from commit 0d7336c)
Fix simpliest case of cyclic aliases (cherry picked from commit 0d7336c)
Fix simpliest case of cyclic aliases (cherry picked from commit 0d7336c)
Fix simpliest case of cyclic aliases (cherry picked from commit 0d7336c)
I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
Now it's not possible to create or add columns with simple cyclic aliases like
a DEFAULT b, b DEFAULT a
.Relates to #9489