You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Mingcong Han (JIRA)" <ji...@apache.org> on 2019/05/24 02:50:00 UTC

[jira] [Resolved] (SPARK-27440) Optimize uncorrelated predicate subquery

     [ https://issues.apache.org/jira/browse/SPARK-27440?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mingcong Han resolved SPARK-27440.
----------------------------------
    Resolution: Abandoned

After the discussion in the PR, we realize the optimization method for non-correlated subquery is invalid. So I mark this issue as `abandoned`, and will look for another method for more general cases.

> Optimize uncorrelated predicate subquery
> ----------------------------------------
>
>                 Key: SPARK-27440
>                 URL: https://issues.apache.org/jira/browse/SPARK-27440
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 3.0.0
>            Reporter: Mingcong Han
>            Priority: Major
>
> Currently, we rewrite all the predicate subqueries(InSubquery, Exists) as semi-join/anti-join. But uncorrelated predicate subquery can be evaluated using a subplan instead of a join. We can firstly optimize the subquery and then compute it using a subquery physical plan.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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