[
https://issues.apache.org/jira/browse/ARROW-12739?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17362979#comment-17362979
]
Antoine Pitrou commented on ARROW-12739:
----------------------------------------
My question is whether we really need a kernel for that. Does that correspond
to a SQL function of sorts?
> [C++] Function to combine Arrays row-wise into ListArray
> --------------------------------------------------------
>
> Key: ARROW-12739
> URL: https://issues.apache.org/jira/browse/ARROW-12739
> Project: Apache Arrow
> Issue Type: Improvement
> Components: C++
> Reporter: Ian Cook
> Priority: Major
>
> Add a variadic function that would take 2+ Arrays and combine/transpose them
> rowwise into a ListArray. For example:
> Input:
> {code:java}
> Array<string> Array<string>
> [ [
> "foo", "bar",
> "push" "pop"
> ] ]
> {code}
> Output:
> {code:java}
> ListArray<list<item: string>>
> [
> ["foo","bar"],
> ["push","pop"]
> ]
> {code}
> This is similar to the StructArray constructor which takes a list of Arrays
> and names (but in this case it would only need to take a list of Arrays).
--
This message was sent by Atlassian Jira
(v8.3.4#803005)