tustvold commented on a change in pull request #1253:
URL: https://github.com/apache/arrow-rs/pull/1253#discussion_r796692713



##########
File path: parquet/src/arrow/async_reader.rs
##########
@@ -15,8 +15,64 @@
 // specific language governing permissions and limitations
 // under the License.
 
-//! Contains asynchronous APIs for reading parquet files into
-//! arrow [`RecordBatch`]
+//! Provides `async` API for reading parquet files as
+//! [`RecordBatch`]es
+//!
+//! ```
+//! # #[tokio::main(flavor="current_thread")]
+//! # async fn main() {
+//! #
+//! use arrow::record_batch::RecordBatch;
+//! use arrow::util::pretty::pretty_format_batches;
+//! use futures::TryStreamExt;
+//! use tokio::fs::File;
+//!
+//! use parquet::arrow::ParquetRecordBatchStreamBuilder;
+//!
+//! # fn assert_batches_eq(batches: &[RecordBatch], expected_lines: &[&str]) {

Review comment:
       TIL that you can hide doc code using `#` :+1:




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