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

[Rust] ParquetIterator's next method should be safe to call even after reached end of iteration

    XMLWordPrintableJSON

Details

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              houqp QP Hou
              houqp QP Hou
              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