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

Function DeserializeSchema

cpp/src/arrow/engine/substrait/serde.cc:309–314  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

307}
308
309Result<std::shared_ptr<Schema>> DeserializeSchema(
310 const Buffer& buf, const ExtensionSet& ext_set,
311 const ConversionOptions& conversion_options) {
312 ARROW_ASSIGN_OR_RAISE(auto named_struct, ParseFromBuffer<substrait::NamedStruct>(buf));
313 return FromProto(named_struct, ext_set, conversion_options);
314}
315
316Result<std::shared_ptr<Buffer>> SerializeSchema(
317 const Schema& schema, ExtensionSet* ext_set,

Callers 1

ASSERT_OK_AND_ASSIGNFunction · 0.85

Calls 1

FromProtoFunction · 0.70

Tested by 1

ASSERT_OK_AND_ASSIGNFunction · 0.68