| 387 | } |
| 388 | |
| 389 | Status CreateSchemaResult(const std::shared_ptr<arrow::Schema>& schema, |
| 390 | std::unique_ptr<arrow::flight::SchemaResult>* out) { |
| 391 | return arrow::flight::SchemaResult::Make(*schema).Value(out); |
| 392 | } |
| 393 | |
| 394 | } // namespace flight |
| 395 | } // namespace py |