| 192 | } |
| 193 | |
| 194 | Status ExportType(const DataType& orig_type) { |
| 195 | flags_ = ARROW_FLAG_NULLABLE; |
| 196 | |
| 197 | const DataType* type = UnwrapExtension(&orig_type); |
| 198 | RETURN_NOT_OK(ExportFormat(*type)); |
| 199 | RETURN_NOT_OK(ExportChildren(type->fields())); |
| 200 | // There may be additional metadata to export |
| 201 | RETURN_NOT_OK(ExportMetadata(nullptr)); |
| 202 | return Status::OK(); |
| 203 | } |
| 204 | |
| 205 | Status ExportSchema(const Schema& schema) { |
| 206 | static const StructType dummy_struct_type({}); |
no test coverage detected