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

Add a typeids Vector to Union type

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.1.0
    • Format
    • 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

              julienledem Julien Le Dem
              julienledem Julien Le Dem
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: