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
Is your feature request related to a problem or challenge?
array_has(in multiple code paths) usesBooleanArray::builderto construct its results. This updates the NULL buffer in an incremental fashion. It is likely faster to useBooleanBufferBuilderto construct the results and separately construct the output NULL buffer viaNullBuffer::unionor similar.Describe the solution you'd like
No response
Describe alternatives you've considered
No response
Additional context
No response