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

Function ExecPlanReader__Plan

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

[[acero::export]]

Source from the content-addressed store, hash-verified

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