Skip to content

Commit 7233a86

Browse files
committed
Updated comment.
1 parent 6be2b4d commit 7233a86

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

sql/core/src/main/scala/org/apache/spark/sql/DataFrame.scala

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ import scala.collection.JavaConversions._
2525
import scala.language.implicitConversions
2626
import scala.reflect.ClassTag
2727
import scala.reflect.runtime.universe.TypeTag
28-
import scala.util.Random
2928
import scala.util.control.NonFatal
3029

3130
import com.fasterxml.jackson.core.JsonFactory
@@ -457,7 +456,7 @@ class DataFrame private[sql](
457456
return plan
458457
}
459458

460-
// If neither sides have no output set intersection, return the plan.
459+
// If left/right have no output set intersection, return the plan.
461460
val lanalyzed = this.logicalPlan.queryExecution.analyzed
462461
val ranalyzed = right.logicalPlan.queryExecution.analyzed
463462
if (lanalyzed.outputSet.intersect(ranalyzed.outputSet).isEmpty) {

0 commit comments

Comments
 (0)