francis0407 commented on issue #24344: [SPARK-27440][SQL] Optimize uncorrelated 
predicate subquery
URL: https://github.com/apache/spark/pull/24344#issuecomment-483302729
 
 
   > how about (a, b) in (select c, d ...)? How do we convert it?
   > If there is no other SQL system doing it, maybe it's simpler to create the 
phyiscal plan for non-correlated IN?
   
   It is similar to the correlated one, converted as `EXISTS(select c, d from 
... where a = c and b = d)`. 
   
   If a physical plan for IN is satisfying, I'm ok to do that.

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