-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ARROW-14029: [R] Repair map_batches()
Updating `map_batches()` function to use `RecordBatchReader` instead of `Scanner$ScanBatches()` so that only one record batch is in memory at a time. ~As part of this, I refactored `do_exec_plan` to always return a RBR instead of a materialized Table.~ I don't think I can refactor `do_exec_plan` to always return a RBR until we get `arrange`, `head`, and `tail` operations to work outside of a sink node. See: https://issues.apache.org/jira/browse/ARROW-15271 Closes #11894 from wjones127/ARROW-14029-r-map-batches Authored-by: Will Jones <willjones127@gmail.com> Signed-off-by: Jonathan Keane <jkeane@gmail.com>
- Loading branch information
Showing
3 changed files
with
114 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters