Skip to content

Optimize NULL handling for array_has #21470

@neilconway

Description

@neilconway

Is your feature request related to a problem or challenge?

array_has (in multiple code paths) uses BooleanArray::builder to construct its results. This updates the NULL buffer in an incremental fashion. It is likely faster to use BooleanBufferBuilder to construct the results and separately construct the output NULL buffer via NullBuffer::union or similar.

Describe the solution you'd like

No response

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request
No fields configured for Feature.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions