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

[jira] [Commented] (ARROW-10039) [Rust] Do not require memory alignment of buffers

    [ https://issues.apache.org/jira/browse/ARROW-10039?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17204997#comment-17204997 ] 

Jorge Leitão commented on ARROW-10039:
--------------------------------------

Bumped this to 3 as it requires more testing and is not a major blocker, since we do not support the C Data interface yet.

> [Rust] Do not require memory alignment of buffers
> -------------------------------------------------
>
>                 Key: ARROW-10039
>                 URL: https://issues.apache.org/jira/browse/ARROW-10039
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: Rust
>    Affects Versions: 1.0.1
>            Reporter: Jorge Leitão
>            Assignee: Jorge Leitão
>            Priority: Major
>             Fix For: 3.0.0
>
>
> Currently, all buffers in rust are created aligned. We also panic when a buffer is not aligned. However, [the spec|https://arrow.apache.org/docs/format/Columnar.html#buffer-alignment-and-padding] only recommends, but do not require, memory alignment.
> This issue aims at following the spec more closely, by removing the requirement (not panicking) when memory passed to a buffer is not aligned.



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