You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Wes McKinney (JIRA)" <ji...@apache.org> on 2018/10/10 11:49:00 UTC
[jira] [Resolved] (ARROW-3479) [R] Support to write record_batch as
stream
[ https://issues.apache.org/jira/browse/ARROW-3479?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wes McKinney resolved ARROW-3479.
---------------------------------
Resolution: Fixed
Fix Version/s: 0.12.0
Issue resolved by pull request 2727
[https://github.com/apache/arrow/pull/2727]
> [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
> Priority: Major
> Labels: pull-request-available
> Fix For: 0.12.0
>
> Time Spent: 0.5h
> 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
(v7.6.3#76005)