Skip to content

Commit 72c5c0b

Browse files
authored
fix: avoid single thread row fetch (#19677)
1 parent 41c52d2 commit 72c5c0b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/query/storages/fuse/src/operations/read/parquet_rows_fetcher.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,7 @@ impl RowsFetcher for ParquetRowsFetcher {
185185
if blocks_bytes >= 50 * 1024 * 1024 || tasks_indices.peek().is_none() {
186186
let tasks_handle = std::mem::take(&mut tasks_handle);
187187
let tasks_block = future::try_join_all(tasks_handle).await.unwrap();
188+
blocks_bytes = 0;
188189
for task_block in tasks_block {
189190
let (final_index, block) = task_block?;
190191
final_blocks.insert(final_index, block);

0 commit comments

Comments
 (0)