You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Antoine Pitrou (Jira)" <ji...@apache.org> on 2020/05/11 16:22:00 UTC
[jira] [Resolved] (ARROW-8745) [C++] Bitmap.ToString causes
failures on a big-endian platform
[ https://issues.apache.org/jira/browse/ARROW-8745?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Antoine Pitrou resolved ARROW-8745.
-----------------------------------
Fix Version/s: 1.0.0
Resolution: Fixed
Issue resolved by pull request 7134
[https://github.com/apache/arrow/pull/7134]
> [C++] Bitmap.ToString causes failures on a big-endian platform
> --------------------------------------------------------------
>
> Key: ARROW-8745
> URL: https://issues.apache.org/jira/browse/ARROW-8745
> Project: Apache Arrow
> Issue Type: Improvement
> Components: C++
> Reporter: Kazuaki Ishizaki
> Assignee: Kazuaki Ishizaki
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.0.0
>
> Time Spent: 1.5h
> Remaining Estimate: 0h
>
> The new test causes the failure on a big-endian platform.
> {code}
> 1: [----------] 5 tests from Bitmap
> 1: [ RUN ] Bitmap.ShiftingWordsOptimization
> 1: [ OK ] Bitmap.ShiftingWordsOptimization (7 ms)
> 1: [ RUN ] Bitmap.VisitWords
> 1: [ OK ] Bitmap.VisitWords (3 ms)
> 1: [ RUN ] Bitmap.VisitPartialWords
> 1: [ OK ] Bitmap.VisitPartialWords (0 ms)
> 1: [ RUN ] Bitmap.ToString
> 1: /home/ishizaki/Arrow/arrow-rle/cpp/src/arrow/util/bit_util_test.cc:1265: Failure
> 1: Expected equality of these values:
> 1: Bitmap(bitmap, 0, 34).ToString()
> 1: Which is: "00000000 00000000 00000000 00000000 00"
> 1: "00110101 01010011 00000000 00000000 00"
> 1: /home/ishizaki/Arrow/arrow-rle/cpp/src/arrow/util/bit_util_test.cc:1267: Failure
> 1: Expected equality of these values:
> 1: Bitmap(bitmap, 0, 16).ToString()
> 1: Which is: "00000000 00000000"
> 1: "00110101 01010011"
> 1: /home/ishizaki/Arrow/arrow-rle/cpp/src/arrow/util/bit_util_test.cc:1268: Failure
> 1: Expected equality of these values:
> 1: Bitmap(bitmap, 0, 11).ToString()
> 1: Which is: "00000000 000"
> 1: "00110101 010"
> 1: /home/ishizaki/Arrow/arrow-rle/cpp/src/arrow/util/bit_util_test.cc:1269: Failure
> 1: Expected equality of these values:
> 1: Bitmap(bitmap, 3, 8).ToString()
> 1: Which is: "00000000"
> 1: "10101010"
> 1: [ FAILED ] Bitmap.ToString (1 ms)
> 1: [ RUN ] Bitmap.VisitWordsAnd
> 1: [ OK ] Bitmap.VisitWordsAnd (708 ms)
> 1: [----------] 5 tests from Bitmap (719 ms total)
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)