-
Notifications
You must be signed in to change notification settings - Fork 102
Description
Describe the bug, including details regarding any error messages, version, and platform.
We just upgraded our Go FlightSQL client to point to master so that we can use the recently added stateless prepared statements (apache/arrow#41428 and apache/arrow#40311). However, we have had issues while trying to use this when getting data from our Rust FlightSQL server. Specifically, we have been unable to deserialize the DoPutPreparedStatementResult that the server is returning.
We realized that the Rust implementation is returning Any protobuf messages (which we also verified in the protobuf messages being sent across the wire) but the go FlightSQL client is not deserializing using anypb to decode this message. Given that the prepared statement handle is meant to represent an opaque handle it seemed appropriate for it to use Any so I believe the Go side should be updated to use this - but let me know if I am mistaken.
I am also raising this to the Rust community to confirm that returning Any messages was intentional.
Component(s)
Go