Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
None
-
None
-
None
Description
For example:
SELECT t.ID, t.NAME, count(t.AGE) T_AGE FROM (SELECT u.ID, u.NAME, u.AGE FROM USERS u GROUP BY u.ID, u.NAME, u.AGE ) t GROUP BY t.ID, t.NAME, t.AGE GROUPING SETS( (t.ID, t.NAME), (t.ID, t.NAME, t.AGE) )
will be
SELECT u.ID, u.NAME, u.AGE FROM USERS u GROUP BY u.ID, u.NAME, u.AGE
groupings set is missing
Attachments
Issue Links
- duplicates
-
CALCITE-4665 Allow Aggregate.groupSet to contain columns not in any of the groupSets
- Closed