| 1453 | } // namespace |
| 1454 | |
| 1455 | Result<std::shared_ptr<DataType>> ImportType(struct ArrowSchema* schema) { |
| 1456 | SchemaImporter importer; |
| 1457 | RETURN_NOT_OK(importer.Import(schema)); |
| 1458 | return importer.MakeType(); |
| 1459 | } |
| 1460 | |
| 1461 | Result<std::shared_ptr<Field>> ImportField(struct ArrowSchema* schema) { |
| 1462 | SchemaImporter importer; |