Skip to content

Commit

Permalink
consume all remaining chunks
Browse files Browse the repository at this point in the history
  • Loading branch information
kwannoel committed Oct 8, 2024
1 parent ad7db51 commit 01314bf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/batch/src/executor/postgres_query.rs
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,10 @@ impl PostgresQueryExecutor {
yield chunk;
}
}
if let Some(chunk) = builder.consume_all() {
yield chunk;
}
return Ok(());
}
}

Expand Down

0 comments on commit 01314bf

Please sign in to comment.