You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/03/14 07:44:00 UTC

[jira] [Updated] (ARROW-15823) [Python] Add a method to convert a Table to a RecordBatchReader

     [ https://issues.apache.org/jira/browse/ARROW-15823?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ASF GitHub Bot updated ARROW-15823:
-----------------------------------
    Labels: pull-request-available  (was: )

> [Python] Add a method to convert a Table to a RecordBatchReader
> ---------------------------------------------------------------
>
>                 Key: ARROW-15823
>                 URL: https://issues.apache.org/jira/browse/ARROW-15823
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: Python
>            Reporter: Weston Pace
>            Assignee: Sanjiban Sengupta
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> The RecordBatchReader interface is a key abstraction for the C stream API.  There is no great way today to convert a Table (or an iterable of batches) to a RecordBatchReader.
> DuckDb is currently doing this by wrapping the Table in an in-memory dataset and consuming it with a scanner but this has considerable overhead (especially if the Table has many batches).
> Alternatively, we could add bridge methods to export a table to a stream but I think this approach would be simpler.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)