Skip to content

Commit b22dc2c

Browse files
committed
Update datafusion/datasource-parquet/src/opener.rs
1 parent fb39f0c commit b22dc2c

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

datafusion/datasource-parquet/src/opener.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -533,6 +533,8 @@ impl FilePruner {
533533
);
534534
Ok(Self {
535535
// Initialize the predicate generation to 0 so that the first time we call `should_prune` we actually check the predicate
536+
// This also means that no pruning will happen unless there is a dynamic filter present.
537+
// See [`snapshot_generation`] for more info.
536538
predicate_generation: 0,
537539
predicate,
538540
pruning_schema,

0 commit comments

Comments
 (0)