jhorstmann opened a new issue, #2055:
URL: https://github.com/apache/arrow-rs/issues/2055

   **Is your feature request related to a problem or challenge? Please describe 
what you are trying to do.**
   
   Similar to #1856, `BooleanArray::from_iter` currently always initializes and 
returns a null_buffer, even when all values are valid.
   
   **Describe the solution you'd like**
   
   Before constructing the ArrayData we could check the count of ones in the 
validity buffer and mapping it to None if all values are valid. This should not 
add any overhead as the number of nulls is counted anyway by the ArrayData 
constructor.
   


-- 
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]

Reply via email to