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/10/08 14:05:00 UTC

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

     [ https://issues.apache.org/jira/browse/ARROW-10040?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Neville Dipale resolved ARROW-10040.
------------------------------------
    Fix Version/s: 2.0.0
       Resolution: Fixed

Issue resolved by pull request 8262
[https://github.com/apache/arrow/pull/8262]

> [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: Improvement
>          Components: Rust
>    Affects Versions: 1.0.1
>            Reporter: Neville Dipale
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 2.0.0
>
>          Time Spent: 4h
>  Remaining Estimate: 0h
>
> 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)