lidavidm commented on code in PR #989:
URL: https://github.com/apache/arrow-adbc/pull/989#discussion_r1303352993


##########
python/adbc_driver_manager/adbc_driver_manager/dbapi.py:
##########
@@ -926,6 +926,22 @@ def fetch_df(self) -> "pandas.DataFrame":
             )
         return self._results.fetch_df()
 
+    def fetch_record_batch(self) -> pyarrow.RecordBatchReader:
+        """
+        Fetch a RecordBatchReader akin to
+        
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
   ```
   
   Consistency with other methods



-- 
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]

Reply via email to