Allison Wang created SPARK-36114:
------------------------------------

             Summary: Support subqueries with correlated non-equality predicates
                 Key: SPARK-36114
                 URL: https://issues.apache.org/jira/browse/SPARK-36114
             Project: Spark
          Issue Type: Sub-task
          Components: SQL
    Affects Versions: 3.2.0
            Reporter: Allison Wang


The new decorrelation framework is able to support subqueries with non-equality 
predicates. For example:

SELECT * FROM t1 WHERE c1 = (SELECT SUM(c1) FROM t2 WHERE t1.c2 > t2.c2)

The restrictions in CheckAnlysis can be removed.

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to