agneborn98 opened a new issue, #13853: URL: https://github.com/apache/arrow/issues/13853
I am trying to retrieve a schema for a flight descriptor from a server written in Rust onto a client written in Go. To do this, I am using the [`func DeserializeSchema`](https://pkg.go.dev/github.com/apache/arrow/go/v9/arrow/[email protected]#DeserializeSchema) to convert it from the Byte array received from the server back to the [`arrow.Schema`](https://pkg.go.dev/github.com/apache/arrow/go/v9/arrow/[email protected]#DeserializeSchema) format used by the client. I do this by doing the following: getSchema, err := s.client.GetSchema(s.ctx, s.desc) retrievedSchema := getSchema.GetSchema() deserializedSchema, err := flight.DeserializeSchema(retrievedSchema, memory.DefaultAllocator) The Byte array I receive looks good enough, I think: `[16 0 0 0 0 0 10 0 14 0 12 0 11 0 4 0 10 0 0 0 20 0 0 0 0 0 0 1 4 0 10 0 12 0 0 0 8 0 4 0 10 0 0 0 8 0 0 0 8 0 0 0 0 0 0 0 3 0 0 0 136 0 0 0 52 0 0 0 4 0 0 0 148 255 255 255 16 0 0 0 20 0 0 0 0 0 0 3 16 0 0 0 206 255 255 255 0 0 1 0 0 0 0 0 5 0 0 0 118 97 108 117 101 0 0 0 192 255 255 255 28 0 0 0 12 0 0 0 0 0 0 10 32 0 0 0 0 0 0 0 0 0 6 0 8 0 6 0 6 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 9 0 0 0 116 105 109 101 115 116 97 109 112 0 0 0 16 0 20 0 16 0 0 0 15 0 4 0 0 0 8 0 16 0 0 0 24 0 0 0 32 0 0 0 0 0 0 2 28 0 0 0 8 0 12 0 4 0 11 0 8 0 0 0 32 0 0 0 0 0 0 1 0 0 0 0 3 0 0 0 116 105 100 0]` Unfortunately, I get the following error: `stderr: 2022/08/11 15:21:10 arrow/ipc: unknown error while reading: runtime error: slice bounds out of range [655360:16]` Am I doing something wrong here? If so, what? Thank you -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
