adriangb commented on code in PR #16424: URL: https://github.com/apache/datafusion/pull/16424#discussion_r2150931060
########## datafusion/datasource-parquet/src/opener.rs: ########## @@ -384,6 +353,24 @@ impl FileOpener for ParquetOpener { .map(move |maybe_batch| { maybe_batch .and_then(|b| schema_mapping.map_batch(b).map_err(Into::into)) + }) + .take_while(move |_| { + if let Some(file_pruner) = file_pruner.as_ref() { + match file_pruner.should_prune() { Review Comment: Right the point is the _stopping_ which the parquet pruning will _not_ do! -- 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...@datafusion.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org