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

[jira] [Resolved] (SPARK-39511) Push limit 1 to right side if join type is LeftSemiOrAnti and join condition is empty

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

Yuming Wang resolved SPARK-39511.
---------------------------------
    Fix Version/s: 3.4.0
       Resolution: Fixed

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

> Push limit 1 to right side if join type is LeftSemiOrAnti and join condition is empty
> -------------------------------------------------------------------------------------
>
>                 Key: SPARK-39511
>                 URL: https://issues.apache.org/jira/browse/SPARK-39511
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 3.4.0
>            Reporter: Yuming Wang
>            Assignee: Yuming Wang
>            Priority: Major
>             Fix For: 3.4.0
>
>
> Example:
> {code:scala}
> spark.range(10000).write.saveAsTable("t1")
> spark.sql("select * from (select id, '1' as type from t1) where type in (select cast(1 as string) from range(100))").show
> {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