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/16 21:10:05 UTC
[jira] [Closed] (CALCITE-802) OVER clause in ORDER BY clause should
be blocked at validation
[ https://issues.apache.org/jira/browse/CALCITE-802?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sean Hsuan-Yi Chu closed CALCITE-802.
-------------------------------------
Resolution: Invalid
> OVER clause in ORDER BY clause 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)