Skip to content

Commit f9c67c2

Browse files
committed
Check for duplicate attributes in join resolution.
1 parent 898af73 commit f9c67c2

File tree

1 file changed

+1
-1
lines changed
  • sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/plans/logical

1 file changed

+1
-1
lines changed

sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/plans/logical/LogicalPlan.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ abstract class LogicalPlan extends QueryPlan[LogicalPlan] with Logging {
209209
// More than one match.
210210
case ambiguousReferences =>
211211
throw new AnalysisException(
212-
s"Ambiguous references to $name: ${ambiguousReferences.mkString(",")}")
212+
s"Ambiguous references to $name: ${ambiguousReferences.mkString(",")} $this")
213213
}
214214
}
215215
}

0 commit comments

Comments
 (0)