Skip to content

Commit 5df7cb0

Browse files
committed
Disable prefetching of next rowgroup by setting max_buffered_morsels to 1
1 parent 477944f commit 5df7cb0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • datafusion/datasource/src/file_stream

datafusion/datasource/src/file_stream/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ const DEFAULT_OUTSTANDING_IOS_PER_PARTITION: usize = 2;
5757
///
5858
/// TODO make this a config option
5959
fn max_buffered_morsels() -> usize {
60-
2
60+
1
6161
}
6262

6363
/// Resolve the shared outstanding-I/O budget for one `DataSourceExec`.

0 commit comments

Comments
 (0)