alamb commented on code in PR #9167:
URL: https://github.com/apache/arrow-rs/pull/9167#discussion_r2705483696


##########
parquet/src/arrow/arrow_reader/mod.rs:
##########
@@ -993,17 +993,19 @@ impl<T: ChunkReader + 'static> 
ParquetRecordBatchReaderBuilder<T> {
     /// # writer.write(&batch).unwrap();
     /// # writer.close().unwrap();
     /// # let file = Bytes::from(file);
-    /// #
+    /// // Build the reader from anything that implements `ChunkReader`
+    /// // such as a `File`, or `Bytes`
     /// let mut builder = 
ParquetRecordBatchReaderBuilder::try_new(file).unwrap();
-    ///
-    /// // Inspect metadata
+    /// // The builder has access to ParquetMetaData such

Review Comment:
   I refined this example with some more comments as well as not calling 
`with_row_groups` to keep the example simpler



-- 
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]

Reply via email to