| 339 | } |
| 340 | |
| 341 | Result<compute::Expression> DeserializeExpression( |
| 342 | const Buffer& buf, const ExtensionSet& ext_set, |
| 343 | const ConversionOptions& conversion_options) { |
| 344 | ARROW_ASSIGN_OR_RAISE(auto expr, ParseFromBuffer<substrait::Expression>(buf)); |
| 345 | return FromProto(expr, ext_set, conversion_options); |
| 346 | } |
| 347 | |
| 348 | Result<std::shared_ptr<Buffer>> SerializeExpression( |
| 349 | const compute::Expression& expr, ExtensionSet* ext_set, |