You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2025/09/15 00:29:00 UTC

[jira] [Updated] (SPARK-52186) An Optimization for EXISTS Subquery

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

ASF GitHub Bot updated SPARK-52186:
-----------------------------------
    Labels: pull-request-available  (was: )

> An Optimization for EXISTS Subquery
> -----------------------------------
>
>                 Key: SPARK-52186
>                 URL: https://issues.apache.org/jira/browse/SPARK-52186
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 3.4.0, 3.5.0, 4.0.0
>            Reporter: KeKe Zhu
>            Priority: Major
>              Labels: pull-request-available
>
> Since EXISTS only returns True or False, it doesn't matter what is SELECTED. Therefore, an optimization rule can be added to check whether the EXISTS clause contains Project 1, If not, add a Project 1 on the EXISTS. 



--
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