adriangb commented on code in PR #15821: URL: https://github.com/apache/datafusion/pull/15821#discussion_r2055221571
########## datafusion-examples/examples/advanced_parquet_index.rs: ########## @@ -300,8 +300,11 @@ impl IndexTableProvider { // In this example, we use the PruningPredicate's literal guarantees to // analyze the predicate. In a real system, using // `PruningPredicate::prune` would likely be easier to do. - let pruning_predicate = - PruningPredicate::try_new(Arc::clone(predicate), self.schema())?; + let pruning_predicate = PruningPredicate::try_new( + Arc::clone(predicate), + self.schema(), + vec![ColumnOrdering::Unknown; self.schema().fields().len()], + )?; Review Comment: We could add a new signature to avoid API churn, but I wanted to make it explicit for now to see all of the callsites -- 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