yaooqinn opened a new pull request #24947: [SPARK-28143][SQL]IN expression 
missing attribute should throw analysis exception
URL: https://github.com/apache/spark/pull/24947
 
 
   ## What changes were proposed in this pull request?
   
   SQL queries like `select 1 where in ()`, which miss the attribute name 
should throw `AnalysisException` with `Invalid number of arguments for function 
in` as debug message rather than `java.lang.UnsupportedOperationException: 
empty.init`.
   
   This problem I guess is related to this pr - 
https://github.com/apache/spark/pull/21226
   
   
   ## How was this patch tested?
   
   add ut
   

----------------------------------------------------------------
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]

Reply via email to