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

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

     [ https://issues.apache.org/jira/browse/ARROW-8744?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

QP Hou updated ARROW-8744:
--------------------------
    Component/s: Rust - DataFusion
       Priority: Minor  (was: Major)

> [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
>          Components: Rust - DataFusion
>            Reporter: QP Hou
>            Assignee: QP Hou
>            Priority: Minor
>
> 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)