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 b022ef7 commit a925d08Copy full SHA for a925d08
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/plans/logical/basicOperators.scala
@@ -103,6 +103,13 @@ case class Join(
103
left.output ++ right.output
104
}
105
106
+
107
+ def selfJoinResolved = left.outputSet.intersect(right.outputSet).isEmpty
108
109
+ // Joins are only resolved if they don't introduce ambiguious expression ids.
110
+ override lazy val resolved: Boolean = {
111
+ childrenResolved && !expressions.exists(!_.resolved) && selfJoinResolved
112
+ }
113
114
115
case class Except(left: LogicalPlan, right: LogicalPlan) extends BinaryNode {
0 commit comments