Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

Commit

Permalink
Replaced writing stream lifetime with non-static lifetime (#471)
Browse files Browse the repository at this point in the history
  • Loading branch information
GrandChaman authored Sep 30, 2021
1 parent 2db7f57 commit b78eeb7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/io/parquet/write/stream.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ pub async fn write_stream<'a, W, I>(
) -> Result<u64>
where
W: std::io::Write,
I: Stream<Item = Result<RowGroupIter<'static, ArrowError>>>,
I: Stream<Item = Result<RowGroupIter<'a, ArrowError>>>,
{
let key_value_metadata = key_value_metadata
.map(|mut x| {
Expand Down Expand Up @@ -56,7 +56,7 @@ pub async fn write_stream_stream<'a, W, I>(
) -> Result<u64>
where
W: futures::io::AsyncWrite + Unpin + Send,
I: Stream<Item = Result<RowGroupIter<'static, ArrowError>>>,
I: Stream<Item = Result<RowGroupIter<'a, ArrowError>>>,
{
let key_value_metadata = key_value_metadata
.map(|mut x| {
Expand Down

0 comments on commit b78eeb7

Please sign in to comment.