Ted-Jiang commented on code in PR #4105:
URL: https://github.com/apache/arrow-datafusion/pull/4105#discussion_r1014052195


##########
datafusion/core/src/physical_plan/file_format/parquet.rs:
##########
@@ -449,7 +449,7 @@ impl FileOpener for ParquetOpener {
             // page index pruning: if all data on individual pages can
             // be ruled using page metadata, rows from other columns
             // with that range can be skipped as well
-            if let Some(row_selection) = enable_page_index
+            if let Some(row_selection) = (enable_page_index && 
!row_groups.is_empty())

Review Comment:
   when all rowGroups are pruned by rg_metadata(min max), we do this skip fast



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