You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: datafusion/datasource-parquet/src/opener.rs
+6-3Lines changed: 6 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -136,11 +136,14 @@ impl FileOpener for ParquetOpener {
136
136
let enable_page_index = self.enable_page_index;
137
137
138
138
Ok(Box::pin(asyncmove{
139
-
// Prune this file using the file level statistics.
139
+
// Prune this file using the file level statistics and partition values.
140
140
// Since dynamic filters may have been updated since planning it is possible that we are able
141
141
// to prune files now that we couldn't prune at planning time.
142
-
// It is assumed that there is no point in doing pruning here if the predicate is not dynamic, as it would have been done at planning time.
143
-
// We'll also check this after every record batch we read, and if at some point we are able to prove we can prune the file using just the file level statistics we can return an empty stream.
142
+
// It is assumed that there is no point in doing pruning here if the predicate is not dynamic,
143
+
// as it would have been done at planning time.
144
+
// We'll also check this after every record batch we read,
145
+
// and if at some point we are able to prove we can prune the file using just the file level statistics
0 commit comments