Skip to content

[Java] Provide a flag to enable/disable null-checking in vectors' get methods #21757

@asfimport

Description

@asfimport

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.

Reporter: Liya Fan / @liyafan82
Assignee: Liya Fan / @liyafan82

Related issues:

PRs and other links:

Note: This issue was originally created as ARROW-5290. Please see the migration documentation for further details.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions