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

[C++] Implement "list_parent_indices" vector function

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.0.0
    • C++
    • None

    Description

      The return value has the same size as the child array of a List type and contains values providing the "cell index" of each child value relative to the parent list array.

      For example, the list array

      [ [0, 1], null, [2], [3, 4]]
      

      would output

      [0, 0, 2, 3, 3]
      

      Note that there is no null because the child array has no nulls. If the list has null values whose offsets point to non-empty child sections then these will have to be null in the output to preserve the contract that the output array has the same length as the child array

      Attachments

        Issue Links

          Activity

            People

              wesm Wes McKinney
              wesm Wes McKinney
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: