edgarrmondragon opened a new pull request, #5111:
URL: https://github.com/apache/arrow-adbc/pull/5111

   See how `RecordBatchReader` does it:
   
   
https://github.com/apache/arrow/blob/b2417adc21f79b9aa6906ce7623ee098460e6780/python/pyarrow/ipc.pxi#L753-L796
   
   which was refactored in a similar manner to this PR in
   
   
https://github.com/apache/arrow/commit/e83c23bb86156ef32d073c8eb507d601847350e1#diff-9672229ceb2bb9ea88b68a8ee3263e37bae3ead2547c07cca86673c6c77d0180L659-L663
   
   This change also prevents type checker errors like:
   
   ```
   Return type "Iterator[RecordBatch]" of "__iter__" incompatible with return 
type "AdbcRecordBatchReader" in supertype 
"pyarrow.__lib_pxi.ipc.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]

Reply via email to