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

Function SerializePlan

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

Source from the content-addressed store, hash-verified

72}
73
74Result<std::shared_ptr<Buffer>> SerializePlan(
75 const acero::Declaration& declaration, ExtensionSet* ext_set,
76 const ConversionOptions& conversion_options) {
77 ARROW_ASSIGN_OR_RAISE(auto subs_plan,
78 PlanToProto(declaration, ext_set, conversion_options));
79 std::string serialized = subs_plan->SerializeAsString();
80 return Buffer::FromString(std::move(serialized));
81}
82
83Result<std::shared_ptr<Buffer>> SerializeExpressions(
84 const BoundExpressions& bound_expressions,

Callers

nothing calls this directly

Calls 1

FromStringFunction · 0.85

Tested by

no test coverage detected