[
https://issues.apache.org/jira/browse/DERBY-2998?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12551840
]
Daniel John Debrunner commented on DERBY-2998:
----------------------------------------------
Looking at the spec I think ROW_NUMBER() OVER () is compliant.
Section 6.10 SR 6) covers ROW_NUMBER and rank function and there is explicit
text (SR 6a) that says:
>>>> If RANK or DENSE_RANK is specified, then the window ordering clause
WOC of WDX shall be present.
I can't see any such restrictions for ROW_NUMBER in SR 6.
Also from googling I saw that IBM's RedBrick supports ROW_NUMBER() OVER ().
> Add support for ROW_NUMBER() window function
> --------------------------------------------
>
> Key: DERBY-2998
> URL: https://issues.apache.org/jira/browse/DERBY-2998
> Project: Derby
> Issue Type: Sub-task
> Components: SQL
> Reporter: Thomas Nielsen
> Assignee: Thomas Nielsen
> Priority: Minor
> Attachments: d2998-4.diff, d2998-4.stat, d2998-5.diff, d2998-5.stat,
> d2998-6.diff, d2998-6.stat, d2998-7.diff, d2998-7.stat, d2998-test.diff,
> d2998-test.stat, d2998-test2.diff, d2998-test2.stat, d2998-test3.diff,
> d2998-test3.stat
>
>
> As part of implementing the overall OLAP Operations features of SQL
> (DERBY-581), implement the ROW_NUMBER() window function.
> More information about this feature is available at
> http://wiki.apache.org/db-derby/OLAPRowNumber
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.