MCPcopy Create free account
hub / github.com/apache/arrow / ExportType

Method ExportType

cpp/src/arrow/c/bridge.cc:194–203  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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({});

Callers 2

ExportFormatMethod · 0.80
ExportTypeFunction · 0.80

Calls 2

OKFunction · 0.50
fieldsMethod · 0.45

Tested by

no test coverage detected