This is an automated email from the ASF dual-hosted git repository. tustvold pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/arrow-rs.git
The following commit(s) were added to refs/heads/master by this push: new a9f632c1b Cleanup orphaned doc comments (#2935) (#2938) a9f632c1b is described below commit a9f632c1bd04410c2528543d74151a91f78643cf Author: Raphael Taylor-Davies <1781103+tustv...@users.noreply.github.com> AuthorDate: Thu Oct 27 10:35:17 2022 +1300 Cleanup orphaned doc comments (#2935) (#2938) --- parquet/src/file/writer.rs | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/parquet/src/file/writer.rs b/parquet/src/file/writer.rs index 8cb6df974..dbbc38461 100644 --- a/parquet/src/file/writer.rs +++ b/parquet/src/file/writer.rs @@ -173,12 +173,6 @@ impl<W: Write> SerializedFileWriter<W> { } /// Closes and finalises file writer, returning the file metadata. - /// - /// All row groups must be appended before this method is called. - /// No writes are allowed after this point. - /// - /// Can be called multiple times. It is up to implementation to either result in - /// no-op, or return an `Err` for subsequent calls. pub fn close(mut self) -> Result<parquet::FileMetaData> { self.assert_previous_writer_closed()?; let metadata = self.write_metadata()?; @@ -431,10 +425,6 @@ impl<'a, W: Write> SerializedRowGroupWriter<'a, W> { } /// Closes this row group writer and returns row group metadata. - /// After calling this method row group writer must not be used. - /// - /// Can be called multiple times. In subsequent calls will result in no-op and return - /// already created row group metadata. pub fn close(mut self) -> Result<RowGroupMetaDataPtr> { if self.row_group_metadata.is_none() { self.assert_previous_writer_closed()?;