[
https://issues.apache.org/jira/browse/ARROW-13044?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bryan Cutler resolved ARROW-13044.
----------------------------------
Fix Version/s: 5.0.0
Resolution: Fixed
Issue resolved by pull request 10513
[https://github.com/apache/arrow/pull/10513]
> [Java] Union vectors should extend ValueVector
> ----------------------------------------------
>
> Key: ARROW-13044
> URL: https://issues.apache.org/jira/browse/ARROW-13044
> Project: Apache Arrow
> Issue Type: Improvement
> Components: Java
> Affects Versions: 4.0.1
> Reporter: Bryan Cutler
> Assignee: Bryan Cutler
> Priority: Major
> Labels: pull-request-available
> Fix For: 5.0.0
>
> Time Spent: 1h 10m
> Remaining Estimate: 0h
>
> I was going to try using a DenseUnionVector as the underlying vector of an
> extension type but it's not currently possible because ExtensionTypeVector
> has a type constraint for the underlying storage to extend BaseValueVector
> and the union vectors do not extend this class.
> It should be possible for UnionVector and DenseUnionVector to extend
> AbstractContainerVector, which is a subclass of ValueVector, then relax the
> type constraint for an ExtensionTypeVector to use the ValueVector interface.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)