-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Optimizer adds redundant projections on casts with confusing alias #3786
Comments
Using |
Maybe related to this issue #3635 which will produce redundant projection after run the optimizer |
Another example:
The alias name should just be:
and not
|
Another example in #3884 (comment) |
I confirmed that this does happen in |
Fixing this will involve a significant refactor/rewrite of portions of |
related with #4575 |
Describe the bug
#3764 fixed one regression but introduced another.
I do not understand why this additional projection is being added.
Before
After
To Reproduce
No repro available yet
Expected behavior
Additional context
The text was updated successfully, but these errors were encountered: