ion-elgreco commented on issue #14987: URL: https://github.com/apache/datafusion/issues/14987#issuecomment-2696439535
> > @jayzhan211 the optimizer is used on the plan level? > > > Yes, in Logical Plan level, it is called after the LogicalPlan created. I see but that's not how we use the expression in our case :) We get an expression predicate, we process it to add more info based on the source statistics when possible, then we simplify and then we prune our TableSnapshot statistics with the PruningPredicate. Here there is no logical plan optimization involved -- 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