Github user mallman commented on the issue: https://github.com/apache/spark/pull/14690 I've rebased this PR and refactored it somewhat. The main change is to move the partition pruning logic from `FileSourceStrategy` into a Catalyst optimizer rule called `PruneFileSourcePartitions`. I've updated the PR's description to provide a rationale for the new approach, but the basic gist is to move partition pruning earlier in query planning to allow its effects to be more visible in the query plan, both internally to the planner and externally in the textual representation of the query plan.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org