Github user cloud-fan commented on a diff in the pull request:
https://github.com/apache/spark/pull/16100#discussion_r90460053
--- Diff:
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/plans/joinTypes.scala
---
@@ -100,7 +100,7 @@ case class NaturalJoin(tpe: JoinType) ex
GitHub user cloud-fan opened a pull request:
https://github.com/apache/spark/pull/16100
[SPARK-18674][SQL] improve the error message of natural join
## What changes were proposed in this pull request?
The current error message of USING join is quite confusing, for example: