You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2020/05/09 08:14:00 UTC
[jira] [Updated] (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 ]
ASF GitHub Bot updated ARROW-8745:
----------------------------------
Labels: pull-request-available (was: )
> [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
> Priority: Major
> Labels: pull-request-available
> Time Spent: 10m
> 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)