-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Group by incorrectly works with alias. #2430
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
Comments
@andygrove can this be assigned to me? |
@comphead I have assigned this to you. I have spent some time working on this and keep running into problems with the way we try and compute names and determine type information based on an expression and a schema. I will be interested to see what you find. I am now going to start working on #1468 and see where that takes me. If the expressions carry their names with them then perhaps it helps with some of these issues? I am still learning and exploring ... |
2 bugs here.
|
@andygrove I'm not sure this will solve all the problems. Currently the test like |
Thank you, I was trying to solve it in planner but your proposed solution looks more robust! Looking forward to test it |
Describe the bug
Group by incorrectly works with alias. The query fails with "Projection references non-aggregate values"
`
To Reproduce
Expected behavior
Test should pass
Additional context
None
The text was updated successfully, but these errors were encountered: