\brief Construct an ExecNode using the named factory
| 374 | |
| 375 | /// \brief Construct an ExecNode using the named factory |
| 376 | inline Result<ExecNode*> MakeExecNode( |
| 377 | const std::string& factory_name, ExecPlan* plan, std::vector<ExecNode*> inputs, |
| 378 | const ExecNodeOptions& options, |
| 379 | ExecFactoryRegistry* registry = default_exec_factory_registry()) { |
| 380 | ARROW_ASSIGN_OR_RAISE(auto factory, registry->GetFactory(factory_name)); |
| 381 | return factory(plan, std::move(inputs), options); |
| 382 | } |
| 383 | |
| 384 | /// @} |
| 385 |