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

Function SerializeExpression

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

Source from the content-addressed store, hash-verified

346}
347
348Result<std::shared_ptr<Buffer>> SerializeExpression(
349 const compute::Expression& expr, ExtensionSet* ext_set,
350 const ConversionOptions& conversion_options) {
351 ARROW_ASSIGN_OR_RAISE(auto st_expr, ToProto(expr, ext_set, conversion_options));
352 std::string serialized = st_expr->SerializeAsString();
353 return Buffer::FromString(std::move(serialized));
354}
355
356namespace internal {
357

Callers 1

TESTFunction · 0.85

Calls 1

FromStringFunction · 0.85

Tested by 1

TESTFunction · 0.68