[
https://issues.apache.org/jira/browse/ARROW-3479?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17660502#comment-17660502
]
Rok Mihevc commented on ARROW-3479:
-----------------------------------
This issue has been migrated to [issue
#19798|https://github.com/apache/arrow/issues/19798] on GitHub. Please see the
[migration documentation|https://github.com/apache/arrow/issues/14542] for
further details.
> [R] Support to write record_batch as stream
> -------------------------------------------
>
> Key: ARROW-3479
> URL: https://issues.apache.org/jira/browse/ARROW-3479
> Project: Apache Arrow
> Issue Type: Improvement
> Components: R
> Reporter: Javier Luraschi
> Assignee: Javier Luraschi
> Priority: Major
> Labels: pull-request-available
> Fix For: 0.12.0
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> Currently, one can only export a record batch to a file:
> {code:java}
> record <- arrow::record_batch(data.frame(a = c(1,2,3)))
> record$to_file()
> {code}
> But to improve performance in Spark's R bindings through sparklyr an
> improvement is to support streams returning R raw's as follows:
> {code:java}
> record <- arrow::record_batch(data.frame(a = c(1,2,3)))
> record$to_stream(){code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)