etseidl commented on code in PR #6582:
URL: https://github.com/apache/arrow-rs/pull/6582#discussion_r1806863720


##########
parquet/src/arrow/async_reader/mod.rs:
##########
@@ -506,6 +506,7 @@ where
         let offset_index = self
             .metadata
             .offset_index()
+            .filter(|index| !index.is_empty())

Review Comment:
   It seems the synchronous file reader does a similar filtering step, so this 
is probably a good addition. It may not have been an issue in the past since 
`MetadataReader` will return `None` rather than `Some([])` for missing indexes.



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