| 1302 | #if defined(ARROW_R_WITH_SUBSTRAIT) |
| 1303 | std::shared_ptr<arrow::Table> ExecPlan_run_substrait(const std::shared_ptr<acero::ExecPlan>& plan, const std::shared_ptr<arrow::Buffer>& serialized_plan); |
| 1304 | extern "C" SEXP _arrow_ExecPlan_run_substrait(SEXP plan_sexp, SEXP serialized_plan_sexp){ |
| 1305 | BEGIN_CPP11 |
| 1306 | arrow::r::Input<const std::shared_ptr<acero::ExecPlan>&>::type plan(plan_sexp); |
| 1307 | arrow::r::Input<const std::shared_ptr<arrow::Buffer>&>::type serialized_plan(serialized_plan_sexp); |
| 1308 | return cpp11::as_sexp(ExecPlan_run_substrait(plan, serialized_plan)); |
| 1309 | END_CPP11 |
| 1310 | } |
| 1311 | #else |
| 1312 | extern "C" SEXP _arrow_ExecPlan_run_substrait(SEXP plan_sexp, SEXP serialized_plan_sexp){ |
| 1313 | Rf_error("Cannot call ExecPlan_run_substrait(). See https://arrow.apache.org/docs/r/articles/install.html for help installing Arrow C++ libraries. "); |
nothing calls this directly
no test coverage detected