[ 
https://issues.apache.org/jira/browse/ARROW-15778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17497472#comment-17497472
 ] 

Antoine Pitrou commented on ARROW-15778:
----------------------------------------

I'm not sure any form of negotiation is needed? The way it works at the IPC 
level is that the writer emits data in whichever endianness it chooses (also 
setting the corresponding metadata field to the appropriate value) and the 
reader decides to byte-swap data is required. So it would work similarly at the 
Flight level.

> [Java] Endianness field not emitted in IPC stream
> -------------------------------------------------
>
>                 Key: ARROW-15778
>                 URL: https://issues.apache.org/jira/browse/ARROW-15778
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: Java
>            Reporter: Antoine Pitrou
>            Priority: Major
>             Fix For: 8.0.0
>
>
> It seems the Java IPC writer implementation does not emit the Endianness 
> information at all (making it Little by default). This complicates 
> interoperability with the C++ IPC reader, which does read this information 
> and acts on it to decide whether it needs to byteswap the incoming data.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to