Ben Kietzman created ARROW-11748:
------------------------------------
Summary: [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
Currently Decimal128'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)