arrow-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Julien Le Dem (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ARROW-257) Add a typeids Vector to Union type
Date Wed, 10 Aug 2016 23:32:20 GMT
Julien Le Dem created ARROW-257:
-----------------------------------

             Summary: Add a typeids Vector to Union type
                 Key: ARROW-257
                 URL: https://issues.apache.org/jira/browse/ARROW-257
             Project: Apache Arrow
          Issue Type: Improvement
          Components: Format
            Reporter: Julien Le Dem


{noformat}
enum UnionMode:int { Sparse, Dense }

table Union {
  mode: UnionMode;
  typeIds: [Int32]; // optional, describes typeid of each child.
}
{noformat}
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.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message