CodingCat commented on pull request #29831: URL: https://github.com/apache/spark/pull/29831#issuecomment-701062651
> The thing I don't get is: this PR changes the planning logic and why it only affects explain? Seems it changes the final execution plan as well. @cloud-fan the reason is that in [PruneFileSourcePartitions](https://github.com/apache/spark/blob/d0c83f372b1aa87327eacc16b131c57fccf6c205/sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/PruneFileSourcePartitions.scala#L100), we have build fileIndexer with the pruned partition directories, so the execution will only touch files in interested partitions ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
