iter_batches
support for read_database_uri
with connectorx
#21041
Labels
A-io-database
Area: reading/writing to databases
enhancement
New feature or an improvement of an existing feature
Description
Currently, streaming results in batches is only available to
read_database()
, which allows to process data that would otherwise be too big to fit within system memory.connectorx supports streaming batches, though it doesn't seem to expose the feature to it's python API yet.
Polars implements
read_database_uri()
for via connectorx's python module. Would it be within scope for the project to implement it from connectorx's rust API instead ? This would allow users in memory-constrained scenarios to benefit from the speedups & better type inference connectorx offers.I'm currently using a PyO3 module that exposes the bare minimum I need for streaming efforts, perhaps polars could benefit from having the feature upstreamed ?
The text was updated successfully, but these errors were encountered: