phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dumindu Buddhika (JIRA)" <>
Subject [jira] [Updated] (PHOENIX-953) Support UNNEST for ARRAY
Date Wed, 19 Aug 2015 14:53:45 GMT


Dumindu Buddhika updated PHOENIX-953:
    Attachment: PHOENIX-953-v2.patch

[~maryannxue] Thanks for the feedback!.
Hi [~jamestaylor], [~maryannxue] This patch includes UnnestArrayQueryPlan and UnnestArrayResultInterator
changed according to feedback. 

Here we have changed DerivedTableNode to test an Unnest query to see how UnnestArrayQueryPlan
works. When doing that there was a problem to change the type of the array column to base
type of the array. This is solved here. But it looks hacky. 

> Support UNNEST for ARRAY
> ------------------------
>                 Key: PHOENIX-953
>                 URL:
>             Project: Phoenix
>          Issue Type: Sub-task
>            Reporter: James Taylor
>            Assignee: Dumindu Buddhika
>         Attachments: PHOENIX-953-v1.patch, PHOENIX-953-v2.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