db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dag H. Wanvik (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DERBY-6103) Improve documentation of ROW_NUMBER function
Date Sat, 30 Mar 2013 09:51:15 GMT

    [ https://issues.apache.org/jira/browse/DERBY-6103?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13618034#comment-13618034
] 

Dag H. Wanvik commented on DERBY-6103:
--------------------------------------

Thanks, Kim. The above works, cf. test cases in OLAPTest.java. 

That sentence is a bit weird. I suggest just saying that "currently, a <window-specification>
can only be the entire result set, i.e. an empty parenthesis pair".

In the future, when we do add more stuff, the syntax for <window-specification> will
be extended.

                
> Improve documentation of ROW_NUMBER function
> --------------------------------------------
>
>                 Key: DERBY-6103
>                 URL: https://issues.apache.org/jira/browse/DERBY-6103
>             Project: Derby
>          Issue Type: Improvement
>          Components: Documentation
>    Affects Versions: 10.10.1.1
>            Reporter: Dag H. Wanvik
>            Assignee: Kim Haase
>            Priority: Minor
>         Attachments: DERBY-6103.diff, DERBY-6103.stat, DERBY-6103.zip
>
>
> The current documentation doesn't mention that we allow the window definition to be explicit.
> The restriction on WHERE clause no longer applies, nor does the sentence about ORDER
BY not being allowed in subqueries. Cf. rreffuncrownumber.dita. Also, the documentation mentions
that we don't support LIMIT, but not that we now support the FETCH/OFFSET clause, which is
often a better option than ROW_NUMBER.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message