You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Andy Grove (Jira)" <ji...@apache.org> on 2020/10/02 02:43:00 UTC
[jira] [Resolved] (ARROW-10046) [Rust] [DataFusion] Made
`*Iterator` implement Iterator
[ https://issues.apache.org/jira/browse/ARROW-10046?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andy Grove resolved ARROW-10046.
--------------------------------
Fix Version/s: 2.0.0
Resolution: Fixed
Issue resolved by pull request 8225
[https://github.com/apache/arrow/pull/8225]
> [Rust] [DataFusion] Made `*Iterator` implement Iterator
> -------------------------------------------------------
>
> Key: ARROW-10046
> URL: https://issues.apache.org/jira/browse/ARROW-10046
> Project: Apache Arrow
> Issue Type: Improvement
> Components: Rust, Rust - DataFusion
> Reporter: Jorge Leitão
> Assignee: Jorge Leitão
> Priority: Major
> Labels: pull-request-available
> Fix For: 2.0.0
>
> Time Spent: 1.5h
> Remaining Estimate: 0h
>
> Currently, we use {{next_batch -> Result<Option<RecordBatch>>}} to iterate over batches. However, this is very similar to the iterator pattern that Rust offers.
> This issue concerns migrating our code from {{next() -> Option<Result<RecordBatch>>}}
> on the trait Iterator, so that we can leverage the rich Rust iterator API.
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)