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)