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

[C++] Support file parallelism in AsyncScanner

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 5.0.0
    • C++

    Description

      Whether we pull from files in parallel or not is controlled by how we merge the batch streams in `AsyncScanner::ScanBatchesUnorderedAsync`.  Currently we are relying on `MakeConcatenatedGenerator` which is incorrect.  This is needed because `MakeMergedGenerator` pulls from its source (an `EnumeratingGenerator`) in an async reentrant fashion.  `MakeMergedGenerator` should not do this.  If some kind of readahead is truly necessary there then use `MakeReadaheadGenerator`.

      Attachments

        Issue Links

          Activity

            People

              westonpace Weston Pace
              westonpace Weston Pace
              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 - 2h 10m
                  2h 10m