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 c06c6e5 commit 7fa497dCopy full SHA for 7fa497d
core/src/main/scala/org/apache/spark/rdd/RDD.scala
@@ -481,7 +481,7 @@ abstract class RDD[T: ClassTag](
481
s"$numStDev * math.sqrt(Int.MaxValue)")
482
483
val initialCount = this.count()
484
- if (num == 0 || initialCount == 0 ) {
+ if (num == 0 || initialCount == 0) {
485
new Array[T](0)
486
} else {
487
val rand = new Random(seed)
0 commit comments