We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14502d5 commit c90bba8Copy full SHA for c90bba8
core/src/main/scala/org/apache/spark/rdd/RDDOperationScope.scala
@@ -111,7 +111,7 @@ private[spark] object RDDOperationScope {
111
private[spark] def withScope[T](
112
sc: SparkContext,
113
name: String,
114
- allowNesting: Boolean = false)(body: => T): T = {
+ allowNesting: Boolean)(body: => T): T = {
115
// Save the old scope to restore it later
116
val scopeKey = SparkContext.RDD_SCOPE_KEY
117
val noOverrideKey = SparkContext.RDD_SCOPE_NO_OVERRIDE_KEY
@@ -134,4 +134,4 @@ private[spark] object RDDOperationScope {
134
sc.setLocalProperty(noOverrideKey, oldNoOverride)
135
}
136
137
-}
+}
0 commit comments