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

Method Import

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

Source from the content-addressed store, hash-verified

997
998struct SchemaImporter {
999 Status Import(struct ArrowSchema* src) {
1000 if (ArrowSchemaIsReleased(src)) {
1001 return Status::Invalid("Cannot import released ArrowSchema");
1002 }
1003 guard_.Reset(src);
1004 recursion_level_ = 0;
1005 c_struct_ = src;
1006 return DoImport();
1007 }
1008
1009 Result<std::shared_ptr<Field>> MakeField() const {
1010 const char* name = c_struct_->name ? c_struct_->name : "";

Callers

nothing calls this directly

Calls 3

ArrowSchemaIsReleasedFunction · 0.85
InvalidFunction · 0.50
ResetMethod · 0.45

Tested by

no test coverage detected