| 57 | } |
| 58 | |
| 59 | arrow::Result<std::unique_ptr<SchemaResult>> GetSchemaForCommand( |
| 60 | FlightSqlClient* client, const FlightCallOptions& options, |
| 61 | const google::protobuf::Message& command) { |
| 62 | ARROW_ASSIGN_OR_RAISE(FlightDescriptor descriptor, |
| 63 | GetFlightDescriptorForCommand(command)); |
| 64 | return client->GetSchema(options, descriptor); |
| 65 | } |
| 66 | |
| 67 | // Pack a protobuf action and send it to the server. |
| 68 | arrow::Result<std::unique_ptr<ResultStream>> DoProtoAction( |
no test coverage detected