lidavidm commented on code in PR #36517:
URL: https://github.com/apache/arrow/pull/36517#discussion_r1264170989
##########
cpp/src/arrow/flight/transport/grpc/grpc_client.cc:
##########
@@ -564,6 +568,78 @@ class GrpcResultStream : public ResultStream {
std::unique_ptr<::grpc::ClientReader<pb::Result>> stream_;
};
+// Helpers for implementing the async versions of the calls
+
+arrow::Result<FlightInfo> ToAsyncResult(const pb::FlightInfo& proto) {
+ FlightInfo::Data info_data;
+ RETURN_NOT_OK(internal::FromProto(proto, &info_data));
+ return FlightInfo(std::move(info_data));
+}
Review Comment:
With a bit of juggling, yes (done)
--
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]