[ https://issues.apache.org/jira/browse/SPARK-30447?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17013495#comment-17013495 ]
Peter Toth commented on SPARK-30447: ------------------------------------ [~dongjoon], 2.3.4 is affected, 2.2.3 isn't. > 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: 2.3.4, 2.4.4, 3.0.0 > Reporter: Peter Toth > Assignee: Peter Toth > Priority: Major > Fix For: 2.4.5, 3.0.0 > > > 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