git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[jira] [Created] (ARROW-3479) [R] Support to write record_batch as stream


Javier Luraschi created ARROW-3479:
--------------------------------------

             Summary: [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


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)