Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Regression from CALCITE-750 Allow nested window aggregates.
Calcite allows illegal queries instead of raising an appropriate error. When executing the following query calcite does not raise the following error.
select avg(sum(b)) over (partition by b) from t1;
ERROR: Expression 'b' is not being grouped
Attachments
Issue Links
- is related to
-
CALCITE-750 Allow windowed aggregate on top of regular aggregate
- Closed
-
CALCITE-1340 Window aggregates invalid error/error messages in some cases
- Closed