| 42 | namespace { |
| 43 | |
| 44 | arrow::Result<FlightDescriptor> GetFlightDescriptorForCommand( |
| 45 | const google::protobuf::Message& command) { |
| 46 | FlightDescriptor descriptor; |
| 47 | RETURN_NOT_OK(flight::internal::PackProtoCommand(command, &descriptor)); |
| 48 | return descriptor; |
| 49 | } |
| 50 | |
| 51 | arrow::Result<std::unique_ptr<FlightInfo>> GetFlightInfoForCommand( |
| 52 | FlightSqlClient* client, const FlightCallOptions& options, |
no test coverage detected