[ 
https://issues.apache.org/jira/browse/ARROW-257?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rok Mihevc updated ARROW-257:
-----------------------------
    External issue URL: https://github.com/apache/arrow/issues/15598

> 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
>            Assignee: Julien Le Dem
>            Priority: Major
>             Fix For: 0.1.0
>
>
> {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
(v8.20.10#820010)

Reply via email to