[
https://issues.apache.org/jira/browse/ARROW-15823?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Li resolved ARROW-15823.
------------------------------
Fix Version/s: 8.0.0
Resolution: Fixed
Issue resolved by pull request 12621
[https://github.com/apache/arrow/pull/12621]
> [C++][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: C++, Python
> Reporter: Weston Pace
> Assignee: Sanjiban Sengupta
> Priority: Major
> Labels: pull-request-available
> Fix For: 8.0.0
>
> Time Spent: 1h 50m
> 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)