| 520 | } |
| 521 | |
| 522 | Status ExportSchema(const Schema& schema, struct ArrowSchema* out) { |
| 523 | SchemaExporter exporter; |
| 524 | RETURN_NOT_OK(exporter.ExportSchema(schema)); |
| 525 | exporter.Finish(out); |
| 526 | return Status::OK(); |
| 527 | } |
| 528 | |
| 529 | ////////////////////////////////////////////////////////////////////////// |
| 530 | // C data export |