You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Ian Cook (Jira)" <ji...@apache.org> on 2021/05/11 16:45:00 UTC

[jira] [Updated] (ARROW-12739) [C++] Function to combine Arrays row-wise into ListArray

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

Ian Cook updated ARROW-12739:
-----------------------------
    Description: 
Add a function that would take 2+ Arrays and combine/transpose them rowwise into a ListArray. For example:
 Input:
{code}
Array<string>        Array<string>
[                    [
  "foo",               "bar",
  "push"               "pop"
]                    ]
 {code}


 Output:
{code}
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).

  was:
Add a function that would take 2+ Arrays and combine/transpose them rowwise into a ListArray. For example:
Input:
Array<string>        Array<string>
[                    [
  "foo",               "bar",
  "push"               "pop"
]                    ]
Output:
ListArray<list<item: string>>
[
  ["foo","bar"],
  ["push","pop"]
]
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).


> [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 function that would take 2+ Arrays and combine/transpose them rowwise into a ListArray. For example:
>  Input:
> {code}
> Array<string>        Array<string>
> [                    [
>   "foo",               "bar",
>   "push"               "pop"
> ]                    ]
>  {code}
>  Output:
> {code}
> 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)