You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2019/06/24 06:15:03 UTC

[GitHub] [spark] yaooqinn opened a new pull request #24947: [SPARK-28143][SQL]IN expression missing attribute should throw analysis exception

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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org