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

Method ReadField

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

Source from the content-addressed store, hash-verified

2307 }
2308
2309 Result<std::shared_ptr<Field>> ReadField() {
2310 struct ArrowSchema c_schema = {};
2311 ARROW_RETURN_NOT_OK(
2312 StatusFromCError(&stream_, stream_.get_schema(&stream_, &c_schema)));
2313 ARROW_ASSIGN_OR_RAISE(auto schema, ImportField(&c_schema));
2314 return schema;
2315 }
2316
2317 Status CheckNotReleased() {
2318 if (StreamTraits::IsReleasedFunc(&stream_)) {

Callers 1

InitMethod · 0.80

Calls 1

get_schemaMethod · 0.80

Tested by

no test coverage detected