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

Joris Van den Bossche updated ARROW-12739:
------------------------------------------
    Labels: kernel query-engine  (was: )

> [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
>              Labels: kernel, query-engine
>
> 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.20.10#820010)

Reply via email to