Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upAggregate + non-aggregate expressions can be mixed in places where they should not be allowed to #1586
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
sgrif commentedMar 4, 2018
We only enforce that you cannot mix aggregate/non-aggregate expressions inside of tuples, but this needs to be done everywhere. Examples of queries which are currently accepted but should not be:
I suspect we won't be able to fix this without reworking aggregates in a way that enables
group_bysupport, meaning it will require a major breaking change.