alamb commented on issue #6530:
URL: https://github.com/apache/arrow-rs/issues/6530#issuecomment-2402023938

   
   > Perhaps we could provide methods to return the inner writer, similar to 
what we do for the sync ArrowWriter - 
https://docs.rs/parquet/latest/parquet/arrow/arrow_writer/struct.ArrowWriter.html#method.into_inner
   
   That is a good idea -- -- I think we would have to add a `finish` method 
too. So in that case the the example would look something like
   
   ```rust
   ...
           writer.write(&to_write).await.unwrap();
           let metadata = writer.finish().await?;
           let inner_writer = writer.into_inner();
           // get size from inner_writer
   ...
   ```
   
   👍 
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to