Lordworms commented on code in PR #9314:
URL: https://github.com/apache/arrow-datafusion/pull/9314#discussion_r1498554977
##########
datafusion/core/src/datasource/physical_plan/parquet/mod.rs:
##########
@@ -120,33 +121,41 @@ impl ParquetExec {
MetricBuilder::new(&metrics).global_counter("num_predicate_creation_errors");
let file_schema = &base_config.file_schema;
- let pruning_predicate = predicate
- .clone()
- .and_then(|predicate_expr| {
- match PruningPredicate::try_new(predicate_expr,
file_schema.clone()) {
+ let pruning_predicate = if config.pruning {
Review Comment:
I would add that
--
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]