You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was reading comments surrounding the SerializedFileWriter code as I was implementing the writer on a codebase I'm working on and noticed this comment:
Can be called multiple times. It is up to implementation to either result in
no-op, or return an Err for subsequent calls.
The code itself is clear enough to understand what is going on but I noted that the signature consumes self which makes me think that it's not really possible, in general, to call this method twice since self will be consumed and is not included in FileMetaData.
Should the comment be modified? Or am I missing something else with regards to the writer.
The text was updated successfully, but these errors were encountered:
Which part is this question about
I was reading comments surrounding the
SerializedFileWriter
code as I was implementing the writer on a codebase I'm working on and noticed this comment:https://github.com/apache/arrow-rs/blob/master/parquet/src/file/writer.rs#L180-L181
Describe your question
The code itself is clear enough to understand what is going on but I noted that the signature consumes
self
which makes me think that it's not really possible, in general, to call this method twice sinceself
will be consumed and is not included inFileMetaData
.Should the comment be modified? Or am I missing something else with regards to the writer.
The text was updated successfully, but these errors were encountered: