You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Julian Hyde (JIRA)" <ji...@apache.org> on 2015/08/28 00:27:47 UTC

[jira] [Created] (CALCITE-855) Allow UNNEST to have multiple arguments

Julian Hyde created CALCITE-855:
-----------------------------------

             Summary: Allow UNNEST to have multiple arguments
                 Key: CALCITE-855
                 URL: https://issues.apache.org/jira/browse/CALCITE-855
             Project: Calcite
          Issue Type: Bug
            Reporter: Julian Hyde
            Assignee: Julian Hyde


The SQL standard allows UNNEST to have more than one argument. The result is a collection of records whose i'th record draws fields from the i'th record of each input.

We have laid groundwork for this in CALCITE-854, specifically how the type of an Uncollect is derived. Uncollect will continue to have one input, but with this change, the input may now have more than one column. Each column must be an array or multiset (slightly looser than the standard, which only allows multiple arguments if all are arrays).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)