You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Julian Hyde (JIRA)" <ji...@apache.org> on 2015/07/17 20:14:05 UTC
[jira] [Resolved] (CALCITE-800) Window function defined within
another window function should be invalid
[ https://issues.apache.org/jira/browse/CALCITE-800?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Julian Hyde resolved CALCITE-800.
---------------------------------
Resolution: Fixed
Fix Version/s: 1.4.0-incubating
Fixed in http://git-wip-us.apache.org/repos/asf/incubator-calcite/commit/ef5833f3. (I don't mean the discussion is over -- although I hope it is :) -- but the original issue, namely the validation of window functions, is fixed.) Thanks for the patch, [~seanhychu]!
> Window function defined within another window function should be invalid
> ------------------------------------------------------------------------
>
> Key: CALCITE-800
> URL: https://issues.apache.org/jira/browse/CALCITE-800
> Project: Calcite
> Issue Type: Bug
> Reporter: Sean Hsuan-Yi Chu
> Assignee: Julian Hyde
> Fix For: 1.4.0-incubating
>
>
> For instance,
> {code}
> select sum(deptno) over (order by
> sum(deptno) over(order by deptno))
> from emp
> {code}
> This is an invalid query. However, it passes the validation.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)