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

Function ExecPlanReader__Plan

r/src/compute-exec.cpp:210–217  ·  view source on GitHub ↗

[[acero::export]]

Source from the content-addressed store, hash-verified

208
209// [[acero::export]]
210std::shared_ptr<acero::ExecPlan> ExecPlanReader__Plan(
211 const std::shared_ptr<ExecPlanReader>& reader) {
212 if (reader->PlanStatus() == "PLAN_FINISHED") {
213 cpp11::stop("Can't extract ExecPlan from a finished ExecPlanReader");
214 }
215
216 return reader->Plan();
217}
218
219// [[acero::export]]
220std::string ExecPlanReader__PlanStatus(const std::shared_ptr<ExecPlanReader>& reader) {

Callers 1

Calls 2

stopFunction · 0.85
PlanStatusMethod · 0.80

Tested by

no test coverage detected