[ https://issues.apache.org/jira/browse/CALCITE-1346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15410159#comment-15410159 ]
Gautam Kumar Parai commented on CALCITE-1346: --------------------------------------------- [~julianhyde] I missed a case in the earlier fixes. I have created a pull request (https://github.com/apache/calcite/pull/267) to address it. Could you please review it? Thanks!! > 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)