sunchao opened a new pull request #11709:
URL: https://github.com/apache/arrow/pull/11709


   Currently in `BitVectorHelper.loadValidityBuffer`, we always allocate memory 
when the source vector contains only null or non-null values. However, as the 
[format also 
allows](https://arrow.apache.org/docs/format/Columnar.html#validity-bitmaps) 
allocating validity buffer even if all values are null or not-null, the method 
should also consider whether the input validity buffer is null or not, and 
avoiding allocating new buffer when it is latter.
   


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