Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
The UNNEST built-in function converts an array into a set of rows. This is more than a built-in function, so should be considered an advanced project.
For an example, see the following Postgres documentation: http://www.postgresql.org/docs/8.4/static/functions-array.html
http://www.anicehumble.com/2011/07/postgresql-unnest-function-do-many.html
http://tech.valgog.com/2010/05/merging-and-manipulating-arrays-in.html
So the UNNEST is a way of converting an array to a flattened "table" which can then be filtered on, ordered, grouped, etc.
Attachments
Attachments
Issue Links
- is related to
-
CALCITE-854 Implement UNNEST ... WITH ORDINALITY
- Closed