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

Function ExecuteScalarExpression

cpp/src/arrow/compute/expression.cc:715–720  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

713}
714
715Result<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
722Result<Datum> ExecuteScalarExpression(const Expression& expr, const ExecBatch& input,
723 compute::ExecContext* exec_context) {

Callers 5

EvalFilterMethod · 0.85
BindAndEvaluateFunction · 0.85
ProcessBatchMethod · 0.85
ASSERT_OK_AND_ASSIGNFunction · 0.85

Calls 15

MakeNullScalarFunction · 0.85
CallFunctionFunction · 0.85
CallNotNullFunction · 0.85
MakeScalarFunction · 0.85
IsBoundMethod · 0.80
IsScalarExpressionMethod · 0.80
literalMethod · 0.80
is_scalarMethod · 0.80
CheckResultTypeMethod · 0.80
GetTypesFunction · 0.70
ExecBatchFunction · 0.70
InvalidFunction · 0.50

Tested by 1

ASSERT_OK_AND_ASSIGNFunction · 0.68