Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-10046

[Rust] [DataFusion] Made `*Iterator` implement Iterator

    XMLWordPrintableJSON

Details

    Description

      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.

       

      Attachments

        Issue Links

          Activity

            People

              jorgecarleitao Jorge Leitão
              jorgecarleitao Jorge Leitão
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 40m
                  1h 40m