alamb commented on code in PR #21882:
URL: https://github.com/apache/datafusion/pull/21882#discussion_r3493339272
##########
datafusion/execution/src/disk_manager.rs:
##########
@@ -492,8 +492,13 @@ impl SpillFile for RefCountedTempFile {
> {
match open_result {
Ok(file) => Box::pin(
- tokio_util::io::ReaderStream::new(file)
- .map(|r| r.map_err(DataFusionError::IoError)),
+ // Use a 1MB read buffer. The default 8KB causes
excessive async
Review Comment:
👍
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]