Kazuaki Ishizaki created ARROW-8484: ---------------------------------------
Summary: [C++] TestArrayImport tests cause failures on a big-endian platform Key: ARROW-8484 URL: https://issues.apache.org/jira/browse/ARROW-8484 Project: Apache Arrow Issue Type: Improvement Reporter: Kazuaki Ishizaki The current code causes two types of failures of TestArrayImport on a a big-endian platform as follows: ``` 12: [ RUN ] TestSchemaImport.Struct 12: /home/ishizaki/Arrow/arrow/cpp/build-support/run-test.sh: line 92: 19528 Segmentation fault (core dumped) $TEST_EXECUTABLE "$@" 2>&1 12: 19529 Done | $ROOT/build-support/asan_symbolize.py 12: 19530 Done | ${CXXFILT:-c++filt} 12: 19531 Done | $ROOT/build-support/stacktrace_addr2line.pl $TEST_EXECUTABLE 12: 19532 Done | $pipe_cmd 2>&1 12: 19533 Done | tee $LOGFILE ``` ``` 12: [ RUN ] TestArrayImport.PrimitiveWithOffset 12: /home/ishizaki/Arrow/arrow/cpp/src/arrow/testing/gtest_util.cc:77: Failure 12: Failed 12: 12: @@ -0, +0 @@ 12: -1027 12: -1541 12: -2055 12: +772 12: +1286 12: +1800 12: Expected: 12: [ 12: 1027, 12: 1541, 12: 2055 12: ] 12: Actual: 12: [ 12: 772, 12: 1286, 12: 1800 12: ] ``` -- This message was sent by Atlassian Jira (v8.3.4#803005)