| 713 | } |
| 714 | |
| 715 | Result<Datum> ExecuteScalarExpression(const Expression& expr, const Schema& full_schema, |
| 716 | const Datum& partial_input, |
| 717 | compute::ExecContext* exec_context) { |
| 718 | ARROW_ASSIGN_OR_RAISE(auto input, MakeExecBatch(full_schema, partial_input)); |
| 719 | return ExecuteScalarExpression(expr, input, exec_context); |
| 720 | } |
| 721 | |
| 722 | Result<Datum> ExecuteScalarExpression(const Expression& expr, const ExecBatch& input, |
| 723 | compute::ExecContext* exec_context) { |