gatorsmile commented on a change in pull request #24947: [SPARK-28143][SQL]IN
expression missing attribute should throw analysis exception
URL: https://github.com/apache/spark/pull/24947#discussion_r296837232
##########
File path: sql/core/src/test/scala/org/apache/spark/sql/SQLQuerySuite.scala
##########
@@ -106,6 +106,12 @@ class SQLQuerySuite extends QueryTest with
SharedSQLContext {
checkKeywordsExist(sql("describe functioN abcadf"), "Function: abcadf not
found.")
}
+ test("SPARK-28143: IN expression missing attribute should throw analysis
exception") {
+ val query = "select 1 from where in ()"
Review comment:
`select 1 from where from in ();`
:-)
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]