You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Vladimir Sitnikov (JIRA)" <ji...@apache.org> on 2019/01/04 13:59:00 UTC

[jira] [Resolved] (CALCITE-2625) ROW_NUMBER, RANK generating Invalid SQL

     [ https://issues.apache.org/jira/browse/CALCITE-2625?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vladimir Sitnikov resolved CALCITE-2625.
----------------------------------------
       Resolution: Fixed
    Fix Version/s: 1.19.0

Fixed in https://gitbox.apache.org/repos/asf?p=calcite.git;a=commit;h=276e24b089bc066e9d9ffe3ed5f9bdf3f4699b96

> ROW_NUMBER, RANK generating Invalid SQL
> ---------------------------------------
>
>                 Key: CALCITE-2625
>                 URL: https://issues.apache.org/jira/browse/CALCITE-2625
>             Project: Calcite
>          Issue Type: Bug
>          Components: jdbc-adapter
>            Reporter: KrishnaKant Agrawal
>            Assignee: Julian Hyde
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.19.0
>
>
> The SQL standard says:- 
> If <ntile function>, <lead or lag function>, <rank function type> or ROW_NUMBER is specified, then: … The window framing clause of WDX shall not be present.
> So, Calcite should not print the Window Frames when such functions are used.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)