houqp opened a new pull request #7133:
URL: https://github.com/apache/arrow/pull/7133


   Once reached end of iteration, calling next on ParquetIterator will
   result in an error. This is inconvenient in two ways:
   
   * when shared between multiple threads, only one of the thread will be
   able to terminate without error
   
   * sender for response_rx cannot terminate the iteration early and free
   up resources. instead, it needs to always wait for signal from
   request_tx before closing up the connection
   
   This patch changed the next method to always return None after
   connection has been closed by the sender to address the above mentioned
   issues.


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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to