alamb commented on code in PR #5781:
URL: https://github.com/apache/arrow-rs/pull/5781#discussion_r1605148022
##########
parquet/src/file/footer.rs:
##########
@@ -27,14 +27,30 @@ use crate::file::{metadata::*, reader::ChunkReader,
FOOTER_SIZE, PARQUET_MAGIC};
use crate::schema::types::{self, SchemaDescriptor};
-/// Layout of Parquet file
+/// Reads the [ParquetMetaData] from the footer of the parquet file.
+///
+/// # Layout of Parquet file
+/// ```text
/// +---------------------------+-----+---+
/// | Rest of file | B | A |
/// +---------------------------+-----+---+
-/// where A: parquet footer, B: parquet metadata.
+/// ```
+/// where
+/// * `A`: parquet footer which stores the length of the metadata.
+/// * `B`: parquet metadata.
+///
+/// # I/O
+///
+/// This method first reads the last 8 bytes of the file via
Review Comment:
The IO description previously was just incorrect
--
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]