francis0407 commented on issue #23783: [SPARK-26854][SQL] Support ANY/SOME 
subquery
URL: https://github.com/apache/spark/pull/23783#issuecomment-466881768
 
 
   I'm not sure where to throw the analysis exception, how about this:
   ``` scala
   case class AnySubquery(...) {
     if (values.size > 1) {
       throw new AnalysisException(
         "ANY/SOME predicate doesn't support multi-column currently",
         origin.line,
         origin.startPosition)
     }
   }
   ```
   
   Besides, should I remove those redundant test cases? I'll add more tests 
that focus on the comparison operators, especially with 'null'. 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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