Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
Description
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.
Attachments
Issue Links
- links to