Kazuaki Ishizaki created ARROW-9417: ---------------------------------------
Summary: [C++][IPC] size in message written in native endian Key: ARROW-9417 URL: https://issues.apache.org/jira/browse/ARROW-9417 Project: Apache Arrow Issue Type: Test Components: C++ Reporter: Kazuaki Ishizaki According to [this specification|https://github.com/apache/arrow/blob/master/docs/source/format/Columnar.rst], {{metadata length}} and {{footer size}} should be written in little endian However, the current implementation writes them in native endian. On little-endian {code} 00000000: 41 52 52 4f 57 31 00 00 ff ff ff ff 88 07 00 00 10 00 00 00 00 00 0a 00 0e 00 06 00 05 00 08 00 ARROW1.......................... ... 00005700: 62 6f 6f 6c 5f 6e 75 6c 6c 61 62 6c 65 00 00 00 d0 07 00 00 41 52 52 4f 57 31 bool_nullable.......ARROW1 {code} On big-endian {code} 00000000: 41 52 52 4f 57 31 00 00 ff ff ff ff 00 00 07 90 10 00 00 00 00 00 0a 00 0e 00 06 00 05 00 08 00 ARROW1.......................... ~~~~~~~~~~~ ... 00005700: 04 00 00 00 0d 00 00 00 62 6f 6f 6c 5f 6e 75 6c 6c 61 62 6c 65 00 00 00 00 00 07 d0 41 52 52 4f ........bool_nullable.......ARRO ~~~~~~~~~~~ 00005720: 57 31 {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)