itholic commented on code in PR #39963:
URL: https://github.com/apache/spark/pull/39963#discussion_r1103730768
##########
core/src/main/resources/error/error-classes.json:
##########
@@ -1537,6 +1537,12 @@
],
"sqlState" : "42883"
},
+ "UNRESOLVED_USING_COLUMN_FOR_JOIN" : {
+ "message" : [
+ "USING column <colName> cannot be resolved on the <side> side of the
join. The <side>-side columns: [<plan>]."
Review Comment:
I updated the code to mimic the behavior of
`UNRESOLVED_COLUMN.WITH_SUGGESTION`.
But just realized that `UNRESOLVED_COLUMN.WITH_SUGGESTION` also pump out all
columns, so eventually the behavior is not changed.
In anyway the column names should be backquotes, so I did an update.
cc @MaxGekk
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]