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

Add a typeids Vector to Union type

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.1.0
    • Component/s: Format
    • Labels:
      None

      Description

      enum UnionMode:int { Sparse, Dense }
      
      table Union {
        mode: UnionMode;
        typeIds: [Int32]; // optional, describes typeid of each child.
      }
      

      The idea is to enable providing an id different from the child offset (the default)
      This enables an optimization where we use predefined ids when constructing the type vector of the union but want the children to be only the actually used types.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                julienledem Julien Le Dem
                Reporter:
                julienledem Julien Le Dem
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: