Will Jones created ARROW-15271:
----------------------------------
Summary: [R] Refactor do_exec_plan to return a RecordBatchReader
Key: ARROW-15271
URL: https://issues.apache.org/jira/browse/ARROW-15271
Project: Apache Arrow
Issue Type: Improvement
Components: R
Affects Versions: 6.0.1
Reporter: Will Jones
Right now
[{{do_exec_plan}}|https://github.com/apache/arrow/blob/master/r/R/query-engine.R#L18]
returns an Arrow table because {{head}}, {{tail}}, and {{arrange}} do. If
ARROW-14289 is completed and similar work is done for {{arrange}}, we may be
able to alter {{do_exec_plan}} to return a RBR instead.
The {{map_batches()}} implementation (ARROW-14029) could benefit from this
refactor. And it might make ARROW-15040 more useful.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)