You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/07/05 02:22:00 UTC

[jira] [Updated] (ARROW-11748) [C++] Ensure Decimal128 and Decimal256's fields are in native endian order

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

ASF GitHub Bot updated ARROW-11748:
-----------------------------------
    Labels: pull-request-available  (was: )

> [C++] Ensure Decimal128 and Decimal256's fields are in native endian order
> --------------------------------------------------------------------------
>
>                 Key: ARROW-11748
>                 URL: https://issues.apache.org/jira/browse/ARROW-11748
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: C++
>    Affects Versions: 3.0.0
>            Reporter: Ben Kietzman
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Currently Decimal128 and Decimal256's fields are exclusively in littleendian order, which can yield surprising results when {{reinterpret_cast}}ing entries of a buffer to {{Decimal128*}} on a bigendian platform, see https://github.com/apache/arrow/pull/9554
> These utility classes will be more useful if they are always usable from a buffer without swizzling.



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