| 49 | } |
| 50 | |
| 51 | arrow::Result<std::unique_ptr<FlightInfo>> GetFlightInfoForCommand( |
| 52 | FlightSqlClient* client, const FlightCallOptions& options, |
| 53 | const google::protobuf::Message& command) { |
| 54 | ARROW_ASSIGN_OR_RAISE(FlightDescriptor descriptor, |
| 55 | GetFlightDescriptorForCommand(command)); |
| 56 | return client->GetFlightInfo(options, descriptor); |
| 57 | } |
| 58 | |
| 59 | arrow::Result<std::unique_ptr<SchemaResult>> GetSchemaForCommand( |
| 60 | FlightSqlClient* client, const FlightCallOptions& options, |