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

Function CallFunction

cpp/src/arrow/compute/exec.cc:1362–1370  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1360}
1361
1362Result<Datum> CallFunction(const std::string& func_name, const std::vector<Datum>& args,
1363 const FunctionOptions* options, ExecContext* ctx) {
1364 if (ctx == nullptr) {
1365 ctx = default_exec_context();
1366 }
1367 ARROW_ASSIGN_OR_RAISE(std::shared_ptr<const Function> func,
1368 ctx->func_registry()->GetFunction(func_name));
1369 return func->Execute(args, options, ctx);
1370}
1371
1372Result<Datum> CallFunction(const std::string& func_name, const std::vector<Datum>& args,
1373 ExecContext* ctx) {

Callers 15

GetConverterFunction · 0.85
ASSERT_OK_AND_ASSIGNFunction · 0.85
TEST_PFunction · 0.85
ExecuteScalarExpressionFunction · 0.85
CountFunction · 0.85
MeanFunction · 0.85
ProductFunction · 0.85
SumFunction · 0.85
FirstFunction · 0.85
LastFunction · 0.85
MinMaxFunction · 0.85
AnyFunction · 0.85

Calls 2

default_exec_contextFunction · 0.85
ExecuteMethod · 0.45

Tested by 15

ASSERT_OK_AND_ASSIGNFunction · 0.68
TEST_PFunction · 0.68
CallMethod · 0.68
CheckMethod · 0.68
AssertMinMaxIsMethod · 0.68
TESTFunction · 0.68
TYPED_TESTFunction · 0.68
ASSERT_OK_AND_ASSIGNFunction · 0.68
TEST_FFunction · 0.68
TEST_FFunction · 0.68
TESTFunction · 0.68
TESTFunction · 0.68