You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Ted Dunning (JIRA)" <ji...@apache.org> on 2015/05/30 10:59:17 UTC
[jira] [Created] (DRILL-3222) Need a zip function to combine
coordinated lists
Ted Dunning created DRILL-3222:
----------------------------------
Summary: 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: Bug
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)