You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by "Gautam Kumar Parai (JIRA)" <ji...@apache.org> on 2016/08/05 21:31:20 UTC

[jira] [Created] (CALCITE-1346) Invalid nested window aggregate query with alias

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)