Skip to content

Commit

Permalink
chore
Browse files Browse the repository at this point in the history
  • Loading branch information
Weijun-H committed Jun 1, 2024
1 parent 121d1e4 commit c43520e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions parquet_derive/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ mod parquet_field;
/// use parquet::file::properties::WriterProperties;
/// use parquet::file::writer::SerializedFileWriter;
/// use parquet::record::RecordWriter;
/// use std::fs::File;
///
/// use std::sync::Arc;
///
Expand All @@ -65,7 +66,7 @@ mod parquet_field;
/// a_str: "I'm false"
/// }
/// ];
/// let mut file = todo!();
/// let mut file = File::open("some_file.parquet").unwrap();
///
/// let schema = samples.as_slice().schema().unwrap();
///
Expand Down Expand Up @@ -156,6 +157,7 @@ pub fn parquet_record_writer(input: proc_macro::TokenStream) -> proc_macro::Toke
/// use parquet::record::RecordReader;
/// use parquet::file::{serialized_reader::SerializedFileReader, reader::FileReader};
/// use parquet_derive::{ParquetRecordReader};
/// use std::fs::File;
///
/// #[derive(ParquetRecordReader)]
/// struct ACompleteRecord {
Expand All @@ -165,7 +167,7 @@ pub fn parquet_record_writer(input: proc_macro::TokenStream) -> proc_macro::Toke
///
/// pub fn read_some_records() -> Vec<ACompleteRecord> {
/// let mut samples: Vec<ACompleteRecord> = Vec::new();
/// let mut file = todo()!;
/// let mut file = File::open("some_file.parquet").unwrap();
///
/// let reader = SerializedFileReader::new(file).unwrap();
/// let mut row_group = reader.get_row_group(0).unwrap();
Expand Down

0 comments on commit c43520e

Please sign in to comment.