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

Function GetTestFunctionWithFunctionHolder

cpp/src/gandiva/tests/test_util.cc:62–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60}
61
62static NativeFunction GetTestFunctionWithFunctionHolder() {
63 // the 2nd parameter is expected to be an int32 literal
64 NativeFunction multiply_by_n_func("multiply_by_n", {}, {arrow::int32(), arrow::int32()},
65 arrow::int64(), ResultNullableType::kResultNullIfNull,
66 "multiply_by_n_int32_int32",
67 NativeFunction::kNeedsFunctionHolder);
68 return multiply_by_n_func;
69}
70
71static NativeFunction GetTestFunctionWithContext() {
72 NativeFunction multiply_by_two_formula(

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected