tustvold opened a new pull request #1183:
URL: https://github.com/apache/arrow-rs/pull/1183


   # Which issue does this PR close?
   
   Relates to #1037 .
   
   # Rationale for this change
    
   When splitting a null bitmask off, the code added in #1054 would return the 
entire bitmask that was read. This isn't a problem as `ArrayData` doesn't care 
about trailing data in buffers, in fact it is critical for slices to work, but 
it can be a tad surprising.
   
   # What changes are included in this PR?
   
   Modifies `DefinitionLevelBuffer::split_bitmask` to truncate the returned 
`Bitmap` for the avoidance of confusion. Also uses a more efficient 
`append_packed_range` to construct the remainder buffer.
   
   # Are there any user-facing changes?
   
   Adds a `BooleanBufferBuilder::resize` method
   


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