You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2020/07/12 03:26:00 UTC

[jira] [Updated] (ARROW-9417) [C++][IPC] size in message written in native endian

     [ https://issues.apache.org/jira/browse/ARROW-9417?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ASF GitHub Bot updated ARROW-9417:
----------------------------------
    Labels: pull-request-available  (was: )

> [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
>            Priority: Minor
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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)