Github user mgaido91 commented on the issue: https://github.com/apache/spark/pull/21403 no, sorry, you're right. In the case when it is not a subquery, it is safe to treat them as the same. I got confused checking the result of other DBs as they are all behaving differently in that scenario. I will try and follow your suggestion about creating a new `InSubquery` expression then, in orer to handle that case where all DBs behave consistently and it is more clear which the behavior should be. Sorry for the mistake. Thanks.
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org