kylebarron commented on code in PR #7371:
URL: https://github.com/apache/arrow-rs/pull/7371#discussion_r2031991673


##########
parquet/src/file/metadata/reader.rs:
##########
@@ -658,13 +658,13 @@ impl ParquetMetaDataReader {
 
         // Did not fetch the entire file metadata in the initial read, need to 
make a second request
         if length > suffix_len - FOOTER_SIZE {
-            let metadata_start = file_size - (length - FOOTER_SIZE) as u64;
+            let metadata_start = file_size - (length + FOOTER_SIZE) as u64;

Review Comment:
   Ah, yes I was going through this too quickly when adding the parentheses



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