tustvold commented on a change in pull request #1082:
URL: https://github.com/apache/arrow-rs/pull/1082#discussion_r785452762



##########
File path: parquet/src/column/reader.rs
##########
@@ -258,11 +258,15 @@ where
             // At this point we have read values, definition and repetition 
levels.
             // If both definition and repetition levels are defined, their 
counts
             // should be equal. Values count is always less or equal to 
definition levels.
-            if num_def_levels != 0 && num_rep_levels != 0 {
-                assert_eq!(

Review comment:
       Drive by fix, a bad parquet file shouldn't trigger a 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


Reply via email to