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

Function _arrow_ExecPlan_run_substrait

r/src/arrowExports.cpp:1304–1310  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1302#if defined(ARROW_R_WITH_SUBSTRAIT)
1303std::shared_ptr<arrow::Table> ExecPlan_run_substrait(const std::shared_ptr<acero::ExecPlan>& plan, const std::shared_ptr<arrow::Buffer>& serialized_plan);
1304extern "C" SEXP _arrow_ExecPlan_run_substrait(SEXP plan_sexp, SEXP serialized_plan_sexp){
1305BEGIN_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));
1309END_CPP11
1310}
1311#else
1312extern "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. ");

Callers

nothing calls this directly

Calls 2

as_sexpFunction · 0.85
ExecPlan_run_substraitFunction · 0.85

Tested by

no test coverage detected