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

Apache Spark reassigned SPARK-36686:
------------------------------------

    Assignee: Apache Spark

> fix SimplifyConditionalsInPredicate to be null-safe
> ---------------------------------------------------
>
>                 Key: SPARK-36686
>                 URL: https://issues.apache.org/jira/browse/SPARK-36686
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 3.1.2
>            Reporter: Andrew
>            Assignee: Apache Spark
>            Priority: Major
>
> SimplifyConditionalsInPredicate rule is not null-safe and leads to incorrect 
> results
>  
> ex. IF(cond, trueVal, true) => OR(NOT(cond), trueVal) rewrite is invalid when 
> cond is null. 
> LHS: IF(null, trueVal, true) => true
> RHS: OR(NOT(null), trueVal) => OR(NULL, trueVal)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to