You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Wenchen Fan (Jira)" <ji...@apache.org> on 2022/05/16 17:09:00 UTC

[jira] [Resolved] (SPARK-39172) Remove outer join if all output come from streamed side and buffered side keys exist unique key

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

Wenchen Fan resolved SPARK-39172.
---------------------------------
    Fix Version/s: 3.4.0
       Resolution: Fixed

Issue resolved by pull request 36530
[https://github.com/apache/spark/pull/36530]

> Remove outer join if all output come from streamed side and buffered side keys exist unique key
> -----------------------------------------------------------------------------------------------
>
>                 Key: SPARK-39172
>                 URL: https://issues.apache.org/jira/browse/SPARK-39172
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 3.4.0
>            Reporter: XiDuo You
>            Priority: Major
>             Fix For: 3.4.0
>
>
> Improve the optimzation case using the distinct keys framework.
> For example:
> {code:java}
> SELECT t1.* FROM t1 LEFT JOIN (SELECT distinct c1 as c1 FROM t)t2 ON t1.c1 = t2.c1
> ==>
> SELECT t1.* FROM t1 {code}



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

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