-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
#110 suggests we can group by alias, however, I modify the existing test case select_simple_aggregate_with_groupby_with_aliases a bit, then it fails
To Reproduce
SELECT state AS a, MIN(age) AS b FROM person GROUP BY state
shows correct answer
SELECT state AS a, MIN(age) AS b FROM person GROUP BY a
raises error Plan("Projection references non-aggregate values")
Expected behavior
SELECT state AS a, MIN(age) AS b FROM person GROUP BY state
SELECT state AS a, MIN(age) AS b FROM person GROUP BY a
returns same answer
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working