You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Jorge (Jira)" <ji...@apache.org> on 2020/09/20 10:24:00 UTC

[jira] [Created] (ARROW-10046) [Rust] [DataFusion] Made `*Iterator` implement Iterator

Jorge created ARROW-10046:
-----------------------------

             Summary: [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
            Assignee: Jorge


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)