You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "KeKe Zhu (Jira)" <ji...@apache.org> on 2025/05/16 13:21:00 UTC
[jira] [Created] (SPARK-52186) An Optimization for EXISTS Subquery
KeKe Zhu created SPARK-52186:
--------------------------------
Summary: 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.5.5, 3.5.4, 4.0.0
Reporter: KeKe Zhu
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