You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Peter Toth (Jira)" <ji...@apache.org> on 2020/01/07 15:47:00 UTC

[jira] [Created] (SPARK-30447) Constant propagation nullability issue

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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org