pacman82 opened a new issue, #1691:
URL: https://github.com/apache/arrow-rs/issues/1691

   **Is your feature request related to a problem or challenge? Please describe 
what you are trying to do.**
   I would like a way to track the file size of a parquet file I am writing, so 
I can split my dataset into chunks of roughly the same size. For more context, 
please see this issue in the downstream `odbc2parquet` crate: 
<https://github.com/pacman82/odbc2parquet/issues/190>
   
   **Describe the solution you'd like**
   Make the current stream position (i.e bytes currently written into the inner 
`io::Write`) available in the implementation of `SerializedFileWriter` or even 
through the `FileWriter` trait.
   
   **Describe alternatives you've considered**
   As a workaround I could create a wrapper of `File` which shares an 
`Rc<usize>` counter with the application logic.
   
   **Additional context**
   -
   


-- 
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