You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@arrow.apache.org by "QP Hou (Jira)" <ji...@apache.org> on 2020/05/09 05:12:00 UTC

[jira] [Created] (ARROW-8744) [Rust] ParquetIterator's next method should be safe to call even after reached end of iteration

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)