[
https://issues.apache.org/jira/browse/ARROW-12310?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated ARROW-12310:
-----------------------------------
Labels: pull-request-available (was: )
> [Java] ValueVector#getObject should support covariance for complex types
> ------------------------------------------------------------------------
>
> Key: ARROW-12310
> URL: https://issues.apache.org/jira/browse/ARROW-12310
> Project: Apache Arrow
> Issue Type: Improvement
> Components: Java
> Reporter: Liya Fan
> Assignee: Liya Fan
> Priority: Major
> Labels: pull-request-available
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Currently, the {{ValueVector#getObject}} API supports covariance for
> primitive types.
> For example, {{IntVector#getObject}} returns {{Integer}} while
> {{BitVector#getObject}} returns {{Boolean}}.
> For complex types, we should also support covariance. For example,
> {{ListVector#getObject}} should return a {{List}}
> This will help reduce unnecessary casts, and enforce type safety.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)