blue-yonder / turbodbc

Turbodbc is a Python module to access relational databases via the Open Database Connectivity (ODBC) interface. The module complies with the Python Database API Specification 2.0.
http://turbodbc.readthedocs.io/en/latest
MIT License
607 stars 85 forks source link

Return pyarrow.RecordBatchReader from cursor.fetcharrowbatches #421

Open rupurt opened 3 months ago

rupurt commented 3 months ago

Howdy,

Would it be possible to add support for the `RecordBatchReader when returning arrow batches? The RecordBatchReader provides the schema on the reader which is useful when writing the results to a file without having the build the schema from the first batch.