etseidl commented on code in PR #8383:
URL: https://github.com/apache/arrow-rs/pull/8383#discussion_r2361368253
##########
parquet/src/column/writer/mod.rs:
##########
@@ -173,7 +175,9 @@ pub fn get_typed_column_writer_mut<'a, 'b: 'a, T: DataType>(
})
}
-/// Metadata returned by [`GenericColumnWriter::close`]
+/// Metadata for a column chunk of a parquet file.
Review Comment:
```suggestion
/// Metadata for a column chunk of a Parquet file.
```
##########
parquet/src/file/writer.rs:
##########
@@ -397,7 +405,7 @@ impl<W: Write + Send> SerializedFileWriter<W> {
/// Writes the given buf bytes to the internal buffer.
///
/// This can be used to write raw data to an in-progress parquet file, for
Review Comment:
```suggestion
/// This can be used to write raw data to an in-progress Parquet file,
for
```
##########
parquet/src/file/writer.rs:
##########
@@ -397,7 +405,7 @@ impl<W: Write + Send> SerializedFileWriter<W> {
/// Writes the given buf bytes to the internal buffer.
///
/// This can be used to write raw data to an in-progress parquet file, for
- /// example, custom index structures or other payloads. Other parquet
readers
+ /// example, custom index structures or other payloads. Other parquet
readers
Review Comment:
```suggestion
/// example, custom index structures or other payloads. Other Parquet
readers
```
##########
parquet/src/file/writer.rs:
##########
@@ -645,12 +654,20 @@ impl<'a, W: Write + Send> SerializedRowGroupWriter<'a, W>
{
})
}
- /// Append an encoded column chunk from another source without decoding it
+ /// Append an encoded column chunk from `reader` directly to the underlying
+ /// writer.
+ ///
+ /// This method can be used for efficiently concatenating or projecting
+ /// parquet data, or encoding parquet data to temporary in-memory buffers.
Review Comment:
```suggestion
/// Parquet data, or encoding Parquet data to temporary in-memory
buffers.
```
--
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]