Gautam Kumar Parai created CALCITE-1346:
-------------------------------------------
Summary: Invalid nested window aggregate query with alias
Key: CALCITE-1346
URL: https://issues.apache.org/jira/browse/CALCITE-1346
Project: Calcite
Issue Type: Bug
Reporter: Gautam Kumar Parai
Assignee: Gautam Kumar Parai
The following query should fail but does not!
{code}
SELECT max(sum(sal)) OVER (partition by deptno) AS maxSal
FROM emp
WHERE deptno > 10;
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)