You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "KrishnaKant Agrawal (JIRA)" <ji...@apache.org> on 2018/10/18 05:20:00 UTC
[jira] [Updated] (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 ]
KrishnaKant Agrawal updated CALCITE-2625:
-----------------------------------------
Summary: ROW_NUMBER, RANK generating Invalid SQL (was: Function Specific Sql Window Unparsing where Framing Not Allowed)
> 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
>
> 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)