tustvold commented on issue #4593: URL: https://github.com/apache/arrow-rs/issues/4593#issuecomment-1657252151
The general approach of this library is to delegate concurrency and parallelism to the query engine, which is better placed to make scheduling judgements. DataFusion, for example, will automatically repartition parquet scans provided doing so is beneficial, does not disrupt sort orders, etc... The code for this can be found [here](https://github.com/apache/arrow-datafusion/blob/main/datafusion/core/src/physical_optimizer/repartition.rs#L250), and makes use [with_row_groups](https://docs.rs/parquet/latest/parquet/arrow/arrow_reader/struct.ArrowReaderBuilder.html#method.with_row_groups) to read different row groups in parallel -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
