bjchambers opened a new issue #808:
URL: https://github.com/apache/arrow-rs/issues/808


   **Is your feature request related to a problem or challenge? Please describe 
what you are trying to do.**
   
   I'd like to take the bitwise and (or) of sliced buffers without needing to 
materialize the offsets. This can be achieved within Arrow using 
`buffer_bin_and` (`buffer_bin_or`), but those methods are not exposed.
   
   It should be possible to use `bit_slice` to slice a buffer and then apply 
them, but (1) if the offset is not aligned it needs to materialize the 
resulting buffer and (2) if the offset is aligned it doesn't work due to #807.
   
   **Describe the solution you'd like**
   Expose the `buffer_bin_and`, `buffer_bin_or` and other possibly useful 
methods for working with buffers.
   
   **Describe alternatives you've considered**
   
   Using `bit_slice` and `&`, but that has the problems as noted.
   
   **Additional context**
   Add any other context or screenshots about the feature request here.
   


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