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


##########
parquet/src/arrow/async_reader/mod.rs:
##########
@@ -828,6 +829,7 @@ impl<'a> RowGroups for InMemoryRowGroup<'a> {
             Some(data) => {
                 let page_locations = self
                     .offset_index
+                    .filter(|index| !index.is_empty())

Review Comment:
   This panic happens when metadata is saved to a file and reloaded
   such as in the test `empty_offset_index_doesnt_panic_in_column_chunks` or in 
the example `external_metadata`



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