[
https://issues.apache.org/jira/browse/ARROW-11748?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Antoine Pitrou resolved ARROW-11748.
------------------------------------
Fix Version/s: (was: 6.0.0)
5.0.0
Resolution: Fixed
Issue resolved by pull request 10651
[https://github.com/apache/arrow/pull/10651]
> [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
> Assignee: Yibo Cai
> Priority: Major
> Labels: pull-request-available
> Fix For: 5.0.0
>
> Time Spent: 2h
> 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)