[ 
https://issues.apache.org/jira/browse/ARROW-5290?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17662312#comment-17662312
 ] 

Rok Mihevc commented on ARROW-5290:
-----------------------------------

This issue has been migrated to [issue 
#21757|https://github.com/apache/arrow/issues/21757] on GitHub. Please see the 
[migration documentation|https://github.com/apache/arrow/issues/14542] for 
further details.

> [Java] Provide a flag to enable/disable null-checking in vectors' get methods
> -----------------------------------------------------------------------------
>
>                 Key: ARROW-5290
>                 URL: https://issues.apache.org/jira/browse/ARROW-5290
>             Project: Apache Arrow
>          Issue Type: New Feature
>          Components: Java
>            Reporter: Liya Fan
>            Assignee: Liya Fan
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 0.14.0
>
>          Time Spent: 3.5h
>  Remaining Estimate: 0h
>
> For vector classes, the get method first checks if the value at the given 
> index is null. If it is not null, the method goes ahead to retrieve the 
> value. 
> For some scenarios, the first check is redundant, because the application 
> code has already checked the null, before calling the get method. This 
> redundant check may have non-trivial performance overheads. 
> So we add a flag to enable/disable the null checking, so the user can set the 
> flag according to their own specific scenario. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to