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

[jira] [Resolved] (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:all-tabpanel ]

Jorge Leitão resolved ARROW-10039.
----------------------------------
    Resolution: Fixed

Addressed by [1d2b4a5|https://github.com/apache/arrow/commit/1d2b4a55770fa4dbe24959b3b40c745964c3184e]

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