phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Julian Hyde (JIRA)" <>
Subject [jira] [Commented] (PHOENIX-953) Support UNNEST for ARRAY
Date Tue, 01 Sep 2015 18:24:45 GMT


Julian Hyde commented on PHOENIX-953:

I don't have an opinion about whether key_expr would be useful. But its syntax (with key_expr
as a first argument to UNNEST) precludes SQL:2011 UNNEST with multiple array arguments. I.e.
Teradata is SQL:2008 compliant but breaks SQL:2011. Let's not do that. :)

> Support UNNEST for ARRAY
> ------------------------
>                 Key: PHOENIX-953
>                 URL:
>             Project: Phoenix
>          Issue Type: Sub-task
>            Reporter: James Taylor
>            Assignee: Dumindu Buddhika
>             Fix For: 4.6
>         Attachments: PHOENIX-953-v1.patch, PHOENIX-953-v2.patch, PHOENIX-953-v3.patch,
> 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:
> So the UNNEST is a way of converting an array to a flattened "table" which can then be
filtered on, ordered, grouped, etc.

This message was sent by Atlassian JIRA

View raw message