[ https://issues.apache.org/jira/browse/SPARK-27440?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Apache Spark reassigned SPARK-27440: ------------------------------------ Assignee: Apache Spark > 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 > Assignee: Apache Spark > 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 rewrite all the > uncorrelated predicate subqueries as `Exists`, then optimize it and compute > it using a subquery physical plan like ScalarSubquery. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org