Skip to content

Optimize NULL handling for find_in_set #21463

@neilconway

Description

@neilconway

Is your feature request related to a problem or challenge?

find_in_set uses PrimitiveArray::<T>::builder to construct its results, which means building the internal null buffer in an iterative fashion (via repeated append_null). It is often faster to construct the null buffer directly via NullBuffer::union() of the input null buffers.

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