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

[Flight][Python] Enable custom FlightDataStream in Python

    XMLWordPrintableJSON

    Details

      Description

      We should be able to provide a custom data stream as the result of Flight do_get in Python. In particular, when returning data produced on the fly, or when returning a large Pandas DataFrame, it'd be nice to provide data in chunks as it becomes available, rather than having to copy everything into a Table first.

      On the Python side, a FlightDataStream wrapper that accepts RecordBatches from a Python generator should suffice.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                lidavidm David Li
                Reporter:
                lidavidm David Li
              • 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 - 2h
                  2h