[
https://issues.apache.org/jira/browse/DERBY-2998?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12523537
]
Thomas Nielsen commented on DERBY-2998:
---------------------------------------
Thanks for chiming in Bryan!
My plan for the prototype patch was, like you propose, to disregard the
windowing entirely and enable simple queries like
select row_number(), ... from t
and treat row_number() is a simple scalar function.
After having another look at how 'select a+b from t' works, I'm finally
getting somewhere :)
Currently at the point where I get one generated value per row returned in the
ResultSet, although they are all the default value, they do come from my
RowNumberColumnNode class. Now I need to find a way to do the incrementation.
> 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
>
> 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.