Liya Fan created ARROW-5290:
-------------------------------

             Summary: 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


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
(v7.6.3#76005)

Reply via email to