Neville Dipale created ARROW-10040:
--------------------------------------

             Summary: [Rust] Create a way to slice unalligned offset buffers
                 Key: ARROW-10040
                 URL: https://issues.apache.org/jira/browse/ARROW-10040
             Project: Apache Arrow
          Issue Type: Bug
          Components: Rust
    Affects Versions: 1.0.1
            Reporter: Neville Dipale


We have limitations on the boolean kernels, where we can't apply the kernels on 
buffers whose offsets aren't a multiple of 8. This has the potential of 
preventing users from applying some computations on arrays whose offsets aren't 
divisible by 8.

We could create methods on Buffer that allow slicing buffers and copying them 
into aligned buffers.

An idea would be Buffer::slice(&self, offset: usize, len: usize) -> Buffer;



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to