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

Method ReadSchema

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

Source from the content-addressed store, hash-verified

2299 }
2300
2301 Result<std::shared_ptr<Schema>> ReadSchema() {
2302 struct ArrowSchema c_schema = {};
2303 ARROW_RETURN_NOT_OK(
2304 StatusFromCError(&stream_, stream_.get_schema(&stream_, &c_schema)));
2305 ARROW_ASSIGN_OR_RAISE(auto schema, ImportSchema(&c_schema));
2306 return schema;
2307 }
2308
2309 Result<std::shared_ptr<Field>> ReadField() {
2310 struct ArrowSchema c_schema = {};

Callers 1

InitMethod · 0.45

Calls 1

get_schemaMethod · 0.80

Tested by

no test coverage detected