adriangb commented on code in PR #15057: URL: https://github.com/apache/datafusion/pull/15057#discussion_r1988141252
########## datafusion/datasource-parquet/src/source.rs: ########## @@ -559,24 +556,8 @@ impl FileSource for ParquetSource { .predicate() .map(|p| format!(", predicate={p}")) .unwrap_or_default(); - let pruning_predicate_string = self - .pruning_predicate() - .map(|pre| { - let mut guarantees = pre - .literal_guarantees() - .iter() - .map(|item| format!("{}", item)) - .collect_vec(); - guarantees.sort(); - format!( - ", pruning_predicate={}, required_guarantees=[{}]", - pre.predicate_expr(), - guarantees.join(", ") - ) - }) - .unwrap_or_default(); - write!(f, "{}{}", predicate_string, pruning_predicate_string) Review Comment: This is what's causing tests to fail. Tests assert against the formatting of a ParquetSource and accessing it's pruning predicate method. I'm not sure if we should rewrite the tests and somehow make the generated predicates accessible, bin them, etc. -- 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