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

Function DeserializeType

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

Source from the content-addressed store, hash-verified

322}
323
324Result<std::shared_ptr<DataType>> DeserializeType(
325 const Buffer& buf, const ExtensionSet& ext_set,
326 const ConversionOptions& conversion_options) {
327 ARROW_ASSIGN_OR_RAISE(auto type, ParseFromBuffer<substrait::Type>(buf));
328 ARROW_ASSIGN_OR_RAISE(auto type_nullable, FromProto(type, ext_set, conversion_options));
329 return std::move(type_nullable.first);
330}
331
332Result<std::shared_ptr<Buffer>> SerializeType(
333 const DataType& type, ExtensionSet* ext_set,

Callers 2

ASSERT_OK_AND_ASSIGNFunction · 0.85
TESTFunction · 0.85

Calls

no outgoing calls

Tested by 2

ASSERT_OK_AND_ASSIGNFunction · 0.68
TESTFunction · 0.68