[
https://issues.apache.org/jira/browse/CALCITE-854?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14717654#comment-14717654
]
Julian Hyde commented on CALCITE-854:
-------------------------------------
Fixed on https://github.com/julianhyde/incubator-calcite/tree/816-sub-query
branch but it will be a while before that branch can be merged to master.
> Implement UNNEST ... WITH ORDINALITY
> ------------------------------------
>
> Key: CALCITE-854
> URL: https://issues.apache.org/jira/browse/CALCITE-854
> Project: Calcite
> Issue Type: Bug
> Reporter: Julian Hyde
> Assignee: Julian Hyde
> Fix For: 1.5.0-incubating
>
>
> The SQL standard provides UNNEST, a function that converts a multiset- or
> array-valued scalar expression into a relation. Calcite already implements
> this (for multisets).
> This case would add support for WITH ORDINALITY, the generated relation has
> an additional ORDINALITY column that contains the position of the element in
> the array.
> See http://farrago.sourceforge.net/design/CollectionTypes.html for examples.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)