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

Function ExecPlanReader__batches

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

[[acero::export]]

Source from the content-addressed store, hash-verified

193
194// [[acero::export]]
195cpp11::list ExecPlanReader__batches(
196 const std::shared_ptr<arrow::RecordBatchReader>& reader) {
197 auto result = RunWithCapturedRIfPossible<arrow::RecordBatchVector>(
198 [&]() { return reader->ToRecordBatches(); });
199 return arrow::r::to_r_list(ValueOrStop(result));
200}
201
202// [[acero::export]]
203std::shared_ptr<arrow::Table> Table__from_ExecPlanReader(

Callers 1

Calls 3

to_r_listFunction · 0.85
ValueOrStopFunction · 0.85
ToRecordBatchesMethod · 0.45

Tested by

no test coverage detected