Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-12739

[C++] Function to combine Arrays row-wise into ListArray

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • C++

    Description

      Add a variadic 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).

      Attachments

        Activity

          People

            jinshang Jin Shang
            icook Ian Cook
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated: