You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Neville Dipale (Jira)" <ji...@apache.org> on 2020/09/18 20:36:00 UTC

[jira] [Created] (ARROW-10040) [Rust] Create a way to slice unalligned offset buffers

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)