Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-3479

[R] Support to write record_batch as stream

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.12.0
    • R

    Description

      Currently, one can only export a record batch to a file:

      record <- arrow::record_batch(data.frame(a = c(1,2,3)))
      record$to_file()
      

      But to improve performance in Spark's R bindings through sparklyr an improvement is to support streams returning R raw's as follows:

      record <- arrow::record_batch(data.frame(a = c(1,2,3)))
      record$to_stream()

      Attachments

        Issue Links

          Activity

            People

              javierluraschi Javier Luraschi
              javierluraschi Javier Luraschi
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m