QP Hou created ARROW-8744:
-----------------------------

             Summary: [Rust] ParquetIterator's next method should be safe to 
call even after reached end of iteration
                 Key: ARROW-8744
                 URL: https://issues.apache.org/jira/browse/ARROW-8744
             Project: Apache Arrow
          Issue Type: Improvement
            Reporter: QP Hou
            Assignee: QP Hou


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 message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to