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

Function _arrow_substrait__internal__SubstraitToJSON

r/src/arrowExports.cpp:1274–1279  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1272#if defined(ARROW_R_WITH_SUBSTRAIT)
1273std::string substrait__internal__SubstraitToJSON(const std::shared_ptr<arrow::Buffer>& serialized_plan);
1274extern "C" SEXP _arrow_substrait__internal__SubstraitToJSON(SEXP serialized_plan_sexp){
1275BEGIN_CPP11
1276 arrow::r::Input<const std::shared_ptr<arrow::Buffer>&>::type serialized_plan(serialized_plan_sexp);
1277 return cpp11::as_sexp(substrait__internal__SubstraitToJSON(serialized_plan));
1278END_CPP11
1279}
1280#else
1281extern "C" SEXP _arrow_substrait__internal__SubstraitToJSON(SEXP serialized_plan_sexp){
1282 Rf_error("Cannot call substrait__internal__SubstraitToJSON(). 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

Tested by

no test coverage detected