Peter Toth created SPARK-30447:
----------------------------------

             Summary: Constant propagation nullability issue
                 Key: SPARK-30447
                 URL: https://issues.apache.org/jira/browse/SPARK-30447
             Project: Spark
          Issue Type: Bug
          Components: SQL
    Affects Versions: 3.0.0
            Reporter: Peter Toth


There is a bug in constant propagation due to null handling:

SELECT * FROM t WHERE NOT(c = 1 AND c + 1 = 1) returns those rows where c is 
null due to 1 + 1 = 1 propagation, but it shouldn't.



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