alamb opened a new issue, #21880:
URL: https://github.com/apache/datafusion/issues/21880

   ### Is your feature request related to a problem or challenge?
   
   Several DataFusion PRs 
([#21464](https://github.com/apache/datafusion/pull/21464), 
[#21468](https://github.com/apache/datafusion/pull/21468), 
[#21471](https://github.com/apache/datafusion/pull/21471), 
[#21475](https://github.com/apache/datafusion/pull/21475), 
[#21477](https://github.com/apache/datafusion/pull/21477), 
[#21482](https://github.com/apache/datafusion/pull/21482), 
[#21532](https://github.com/apache/datafusion/pull/21532)) optimize NULL 
handling in scalar functions by replacing row-by-row null buffer construction 
with bulk `NullBuffer::union`. When 3+ null buffers need combining, they chain 
binary `union` calls, each allocating a new `BooleanBuffer`.
   
   @mbutrovich  added a new `NullBuffer::union_many` API in arrow 58.2.0 that 
avoids this allocation
   - https://github.com/apache/arrow-rs/pull/9692
   
   
   
   ### Describe the solution you'd like
   
   Use  `NullBuffer::union_many` instead of `NullBuffer::union` when unioning 
together multiple buffers
   
   ### Describe alternatives you've considered
   
   _No response_
   
   ### Additional context
   
   _No response_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to