alamb commented on code in PR #7323:
URL: https://github.com/apache/arrow-rs/pull/7323#discussion_r2009202707
##########
parquet/src/arrow/arrow_writer/mod.rs:
##########
@@ -529,18 +529,19 @@ impl ArrowColumnChunk {
/// Encodes [`ArrowLeafColumn`] to [`ArrowColumnChunk`]
///
-/// Note: This is a low-level interface for applications that require
fine-grained control
-/// of encoding, see [`ArrowWriter`] for a higher-level interface
+/// Note: This is a low-level interface for applications that require
+/// fine-grained control of encoding such as encoding using multiple threads,
+/// see [`ArrowWriter`] for a higher-level interface
///
/// ```
/// // The arrow schema
/// # use std::sync::Arc;
/// # use arrow_array::*;
/// # use arrow_schema::*;
/// # use parquet::arrow::ArrowSchemaConverter;
-/// # use parquet::arrow::arrow_writer::{ArrowLeafColumn, compute_leaves,
get_column_writers};
+/// # use parquet::arrow::arrow_writer::{ArrowLeafColumn, compute_leaves,
get_column_writers, ArrowColumnChunk};
Review Comment:
I added a few explicit types to the example to make it easier to understand
(as in `row_group` was really a `SerializedRowGroupEncoder` for example
--
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]