Commits


Kazuaki Ishizaki authored and Antoine Pitrou committed 25299e5424d
ARROW-4018: [C++] Fix RLE tests' failures on big-endian platforms This PR adds big-endian support in RLE related classes. The data for RLE is stored using a little-endian format. The current code assumes a little-endian CPU in two places. 1. `RleDecoder::NextCounts` (fix was proposed in ARROW-4018) 1. packing and unpacking from https://github.com/lemire/FrameOfReference/blob/6ccaf9e97160f9a3b299e23a8ef739e711ef0c71/src/bpacking.cpp After applying #7136 & this PR, the following failures in arrow-utility-test's failures will be fixed. ``` [ FAILED ] Rle.SpecificSequences [ FAILED ] Rle.TestValues [ FAILED ] BitRle.Flush [ FAILED ] BitRle.Random [ FAILED ] BitRle.RepeatedPattern [ FAILED ] BitRle.Overflow [ FAILED ] RleDecoder.GetBatchSpaced ``` Closes #7144 from kiszk/ARROW-4018 Authored-by: Kazuaki Ishizaki <ishizaki@jp.ibm.com> Signed-off-by: Antoine Pitrou <antoine@python.org>