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

Bryan Cutler updated ARROW-13044:
---------------------------------
    Description: 
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.

  was:
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 BaseValueVector.


> [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
>          Time Spent: 50m
>  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)

Reply via email to