Github user andrewor14 commented on a diff in the pull request:
https://github.com/apache/spark/pull/11242#discussion_r61979094
--- Diff: core/src/main/scala/org/apache/spark/rdd/UnionRDD.scala ---
@@ -62,8 +62,14 @@ class UnionRDD[T: ClassTag](
var rdds: Seq[RDD[T]])
extends RDD[T](sc, Nil) { // Nil since we implement getDependencies
+ // visible for testing
+ private[spark] val isPartitionEvalParallel: Boolean =
+ rdds.length > conf.getInt("spark.rdd.parallelListingThreshold", 10)
--- End diff --
I agree with @srowen. Let's keep this undocumented because
(1) IDK how many people would actually want to set this (probably not many)
(2) We would need to provide backward compatibility in the future, which
makes the code harder to support
The reason why it's even a config is only for safety. In the unlikely event
that this somehow screws things up badly we can always tell the user to just
set this to 1 to revert to the original behvaior. Normally, however, we
wouldn't recommend the user to even touch this at all.
---
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]