Skip to content

Commit

Permalink
Shutdown parquet async writer (apache#4059)
Browse files Browse the repository at this point in the history
  • Loading branch information
kindly authored Apr 12, 2023
1 parent ee40033 commit 96569c1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions parquet/src/arrow/async_writer/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ impl<W: AsyncWrite + Unpin + Send> AsyncArrowWriter<W> {

// Force to flush the remaining data.
Self::try_flush(&mut self.shared_buffer, &mut self.async_writer, true).await?;
self.async_writer.shutdown().await?;

Ok(metadata)
}
Expand Down

0 comments on commit 96569c1

Please sign in to comment.