You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Sean Hsuan-Yi Chu (JIRA)" <ji...@apache.org> on 2015/07/15 02:43:04 UTC

[jira] [Created] (CALCITE-802) OVER clause in Order-By should be blocked at validation

Sean Hsuan-Yi Chu created CALCITE-802:
-----------------------------------------

             Summary: OVER clause in Order-By should be blocked at validation
                 Key: CALCITE-802
                 URL: https://issues.apache.org/jira/browse/CALCITE-802
             Project: Calcite
          Issue Type: Bug
          Components: core
            Reporter: Sean Hsuan-Yi Chu
            Assignee: Sean Hsuan-Yi Chu


We found a similar issue to Calcite-800. An example is as below:

select empno, rank() over(partition by deptno order by empno)
from emp
order by row_number() over(partition by deptno order by empno)

Order by should not contain OVER.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)