You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (Jira)" <ji...@apache.org> on 2022/10/06 18:23:00 UTC

[jira] [Commented] (SPARK-36114) Support subqueries with correlated non-equality predicates

    [ https://issues.apache.org/jira/browse/SPARK-36114?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17613744#comment-17613744 ] 

Apache Spark commented on SPARK-36114:
--------------------------------------

User 'allisonwang-db' has created a pull request for this issue:
https://github.com/apache/spark/pull/38135

> 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
>            Priority: Major
>
> 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.20.10#820010)

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