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

Function ExampleExecNodeFactory

cpp/examples/arrow/acero_register_example.cc:101–108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

99};
100
101arrow::Result<ac::ExecNode*> ExampleExecNodeFactory(ac::ExecPlan* plan,
102 std::vector<ac::ExecNode*> inputs,
103 const ac::ExecNodeOptions& options) {
104 const auto& example_options =
105 arrow::internal::checked_cast<const ExampleNodeOptions&>(options);
106
107 return plan->EmplaceNode<ExampleNode>(inputs[0], example_options);
108}
109
110const cp::FunctionDoc func_doc{
111 "Example function to demonstrate registering an out-of-tree function",

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected