mapleFU commented on code in PR #8712:
URL: https://github.com/apache/arrow-rs/pull/8712#discussion_r2463853259


##########
parquet/src/bin/parquet-layout.rs:
##########
@@ -55,9 +55,21 @@ use parquet::file::reader::ChunkReader;
 use parquet::format::PageHeader;
 use parquet::thrift::TSerializable;
 
+#[derive(Serialize, Debug)]
+struct Index {
+    offset: i64,
+    length: Option<i32>,
+}
+
+#[derive(Serialize, Debug)]
+struct Footer {
+    metadata_size: Option<usize>,

Review Comment:
   This is required to estimate a `prefetch_hint` for files.



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