novemberkilo commented on a change in pull request #1063: URL: https://github.com/apache/arrow-rs/pull/1063#discussion_r774219108
########## File path: parquet/src/arrow/levels.rs ########## @@ -751,9 +751,10 @@ impl LevelInfo { /// Given a level's information, calculate the offsets required to index an array correctly. pub(crate) fn filter_array_indices(&self) -> Vec<usize> { - // happy path if not dealing with lists + dbg!(&self); let is_nullable = match self.level_type { LevelType::Primitive(is_nullable) => is_nullable, + LevelType::List(is_nullable) => is_nullable, Review comment: This is the only change to the code path -- it addresses the error message we were seeing where the `List` leveltype was being picked up by the catchall (thus the panic). -- 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: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org