Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support accessing ipc Reader/Writer inner by reference #4121

Closed
sticnarf opened this issue Apr 25, 2023 · 0 comments · Fixed by #4122
Closed

Support accessing ipc Reader/Writer inner by reference #4121

sticnarf opened this issue Apr 25, 2023 · 0 comments · Fixed by #4122
Labels
enhancement Any new improvement worthy of a entry in the changelog

Comments

@sticnarf
Copy link
Contributor

Is your feature request related to a problem or challenge? Please describe what you are trying to do.

Our own Reader passed into arrow_ipc::reader::FileReader includes statistics, and we need to collect statistics during iterating the reader. Therefore, we need to access the inner reader through arrow_ipc::reader::FileReader.

Describe the solution you'd like

Add get_ref and get_mut methods to ipc readers and writers.

Describe alternatives you've considered

Wrapping our own reader or writer with Arc<Mutex>.

Additional context

@sticnarf sticnarf added the enhancement Any new improvement worthy of a entry in the changelog label Apr 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Any new improvement worthy of a entry in the changelog
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant