Github user rdblue commented on a diff in the pull request:
https://github.com/apache/spark/pull/11242#discussion_r62215656
--- Diff: core/src/main/scala/org/apache/spark/rdd/UnionRDD.scala ---
@@ -56,14 +58,30 @@ private[spark] class UnionPartition[T: ClassTag](
}
}
+object UnionRDD {
+ private lazy val partitionEvalThreadPool = new ForkJoinPool(8)
+}
+
@DeveloperApi
class UnionRDD[T: ClassTag](
sc: SparkContext,
var rdds: Seq[RDD[T]])
extends RDD[T](sc, Nil) { // Nil since we implement getDependencies
+ // visible for testing
+ private[spark] val isPartitionEvalParallel: Boolean =
--- End diff --
I updated this to `shouldListPartitionsInParallel`. Starting with "read"
makes it sound like it should do a read action. And using "list" matches the
config property.
---
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 [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]