You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/08/11 14:33:10 UTC

[GitHub] [arrow] zeroshade commented on issue #13853: [Go][Rust] Deserializing a Byte array to a schema

zeroshade commented on issue #13853:
URL: https://github.com/apache/arrow/issues/13853#issuecomment-1212072412

   That looks correct for retrieving the schema, but that byte payload looks incorrect. The first four bytes should be either a continuation indicator (0xFFFFFFFF) followed by the message length as a 32-bit integer, or just the message length as a 32-bit integer. 
   
   In your example byte array, the first four bytes are the 32-bit integer `16`. But that message is definitely larger than 16 bytes. Are you able to try requesting the `GetSchema` from the rust server using any other flight clients (python / C++) and attempting to deserialize the schema? Just to confirm that the issue is not the Go client but instead the Rust Server?
   
   @alamb Can you or someone on the arrow-rs side take a look here? 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org