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

Function ExportSchema

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

Source from the content-addressed store, hash-verified

520}
521
522Status 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

Callers 9

TestWithSchemaFactoryMethod · 0.70
TestWithBatchFactoryMethod · 0.70
TestWithBatchFactoryMethod · 0.70
ExportRecordBatchFunction · 0.70
ExportDeviceRecordBatchFunction · 0.70
ExportStreamSchemaFunction · 0.70
garrow_schema_exportFunction · 0.50
ExportSchemaFromJsonFunction · 0.50

Calls 3

ExportSchemaMethod · 0.80
OKFunction · 0.50
FinishMethod · 0.45

Tested by 3

TestWithSchemaFactoryMethod · 0.56
TestWithBatchFactoryMethod · 0.56
TestWithBatchFactoryMethod · 0.56