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

Function ExecPlanReader__batches

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

[[acero::export]]

Source from the content-addressed store, hash-verified

191
192// [[acero::export]]
193cpp11::list ExecPlanReader__batches(
194 const std::shared_ptr<arrow::RecordBatchReader>& reader) {
195 auto result = RunWithCapturedRIfPossible<arrow::RecordBatchVector>(
196 [&]() { return reader->ToRecordBatches(); });
197 return arrow::r::to_r_list(ValueOrStop(result));
198}
199
200// [[acero::export]]
201std::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