drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Westin (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DRILL-3222) Need a zip function to combine coordinated lists
Date Wed, 01 Jul 2015 22:39:05 GMT

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

Chris Westin updated DRILL-3222:
--------------------------------
    Component/s: Functions - Drill

> 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
>          Components: Functions - Drill
>            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)

Mime
View raw message