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

Function _arrow_ExecNode_Project

r/src/arrowExports.cpp:1135–1142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1133#if defined(ARROW_R_WITH_ACERO)
1134std::shared_ptr<acero::ExecNode> ExecNode_Project(const std::shared_ptr<acero::ExecNode>& input, const std::vector<std::shared_ptr<compute::Expression>>& exprs, std::vector<std::string> names);
1135extern "C" SEXP _arrow_ExecNode_Project(SEXP input_sexp, SEXP exprs_sexp, SEXP names_sexp){
1136BEGIN_CPP11
1137 arrow::r::Input<const std::shared_ptr<acero::ExecNode>&>::type input(input_sexp);
1138 arrow::r::Input<const std::vector<std::shared_ptr<compute::Expression>>&>::type exprs(exprs_sexp);
1139 arrow::r::Input<std::vector<std::string>>::type names(names_sexp);
1140 return cpp11::as_sexp(ExecNode_Project(input, exprs, names));
1141END_CPP11
1142}
1143#else
1144extern "C" SEXP _arrow_ExecNode_Project(SEXP input_sexp, SEXP exprs_sexp, SEXP names_sexp){
1145 Rf_error("Cannot call ExecNode_Project(). 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
ExecNode_ProjectFunction · 0.85

Tested by

no test coverage detected