You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Chris Westin (JIRA)" <ji...@apache.org> on 2015/07/01 21:23:05 UTC

[jira] [Updated] (DRILL-3222) Need a zip function to combine coordinated lists

     [ https://issues.apache.org/jira/browse/DRILL-3222?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris Westin updated DRILL-3222:
--------------------------------
    Issue Type: New Feature  (was: Bug)

> Need a zip function to combine coordinated lists
> ------------------------------------------------
>
>                 Key: DRILL-3222
>                 URL: https://issues.apache.org/jira/browse/DRILL-3222
>             Project: Apache Drill
>          Issue Type: New Feature
>            Reporter: Ted Dunning
>
> It is often very useful to be able to turn a pair (or more) of lists into a single list of pairs.  Thus zip([a,b], [1,2]) => [[a,1], [b,2]].
> The handling of short lists, more than two lists and so on is TBD, but the base function is an important one.
> One use case is in time series where storing times as one list and values as another is very handy but processing these results would be much better done by using flatten(zip(times, values)).



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