fuwhu commented on a change in pull request #27129: [SPARK-30427][SQL] Add
config item for limiting partition number when calculating statistics through
File System
URL: https://github.com/apache/spark/pull/27129#discussion_r373328255
##########
File path:
sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/PruneFileSourcePartitions.scala
##########
@@ -59,6 +60,21 @@ private[sql] object PruneFileSourcePartitions extends
Rule[LogicalPlan] {
Project(projects, withFilter)
}
+ private def getNewStatistics(
+ fileIndex: InMemoryFileIndex,
Review comment:
So you prefer to do the statistic calculation in parallel in case the
partition number exceed the threshold?
@cloud-fan WDYT?
----------------------------------------------------------------
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]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]