lidavidm commented on code in PR #989:
URL: https://github.com/apache/arrow-adbc/pull/989#discussion_r1303360484
##########
python/adbc_driver_manager/adbc_driver_manager/dbapi.py:
##########
@@ -926,6 +926,24 @@ def fetch_df(self) -> "pandas.DataFrame":
)
return self._results.fetch_df()
+ def fetch_record_batch(self) -> pyarrow.RecordBatchReader:
+ """
+ Fetch the result as a PyArrow RecordBatchReader.
+
+ This implements a similar API as DuckDB:
+
https://duckdb.org/docs/guides/python/export_arrow.html#export-as-a-recordbatchreader
Review Comment:
```suggestion
Fetch the result as a PyArrow RecordBatchReader.
This implements a similar API as DuckDB:
https://duckdb.org/docs/guides/python/export_arrow.html#export-as-a-recordbatchreader
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]