emkornfield commented on code in PR #14603:
URL: https://github.com/apache/arrow/pull/14603#discussion_r1035216467


##########
cpp/src/parquet/column_reader.cc:
##########
@@ -486,9 +525,8 @@ std::shared_ptr<Page> SerializedPageReader::NextPage() {
           header.repetition_levels_byte_length, uncompressed_len, 
is_compressed,
           page_statistics);
     } else {
-      // We don't know what this page type is. We're allowed to skip non-data
-      // pages.
-      continue;
+      // We have already skipped non-data pages in ShouldSkipPage().

Review Comment:
   nit: consider moving this detail into the exception, just in case there is a 
bug this will help people narrow it down quicker.



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