Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
There are quite a few test cases written like:
select v1 - 1 as v, sum(v2) from t group by v in Phoenix test suite, and calcite does not allow using aliases defined in SELECT list to be referred by GROUP BY clause (ok for ORDER BY though), shall we change those test cases? FYI, julianhyde, jamestaylor, rajeshbabu, kliew
Attachments
Attachments
Issue Links
- depends upon
-
CALCITE-1306 Allow GROUP BY and HAVING to reference SELECT expressions by ordinal and alias
- Closed