You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@arrow.apache.org by "Liya Fan (JIRA)" <ji...@apache.org> on 2019/05/09 08:17:00 UTC
[jira] [Created] (ARROW-5290) Provide a flag to enable/disable
null-checking in vectors' get methods
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)