matthewmturner opened a new issue, #41556: URL: https://github.com/apache/arrow/issues/41556
### 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 (https://github.com/apache/arrow/pull/41428 and https://github.com/apache/arrow/pull/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](https://github.com/apache/arrow-rs/blob/master/arrow-flight/src/sql/server.rs#L716-L724) 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 -- 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: issues-unsubscr...@arrow.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org