Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
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.
Attachments
Issue Links
- is depended upon by
-
PHOENIX-2203 Support UNNEST WITH ORDINALITY in Calcite-Phoenix
- Resolved
- is related to
-
CALCITE-855 Allow UNNEST to have multiple arguments
- Closed
- relates to
-
PHOENIX-953 Support UNNEST for ARRAY
- Closed