You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (Jira)" <ji...@apache.org> on 2021/09/21 04:31:00 UTC
[jira] [Assigned] (SPARK-36721) Simplify boolean equalities if one
side is literal
[ https://issues.apache.org/jira/browse/SPARK-36721?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Apache Spark reassigned SPARK-36721:
------------------------------------
Assignee: (was: Apache Spark)
> Simplify boolean equalities if one side is literal
> --------------------------------------------------
>
> Key: SPARK-36721
> URL: https://issues.apache.org/jira/browse/SPARK-36721
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Affects Versions: 3.1.2, 3.2.0, 3.3.0
> Reporter: Kazuyuki Tanimura
> Priority: Major
>
> The following query does not push down the filter
> ```
> SELECT * FROM t WHERE (a AND b) = true
> ```
> although the following equivalent query pushes down the filter as expected.
> ```
> SELECT * FROM t WHERE (a AND b)
> ```
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org