[ https://issues.apache.org/jira/browse/SPARK-27604?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Peter Toth updated SPARK-27604: ------------------------------- Description: There is some room for improvement as constant propagation could allow substitution of deterministic expressions (instead of attributes only) to constants and substitutions in other than equal predicates. (was: 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 There is some room for improvement as constant propagation could allow substitution of deterministic expressions (instead of attributes only) to constants and substitutions in other than equal predicates.) > Enhance constant and constraint propagation > ------------------------------------------- > > Key: SPARK-27604 > URL: https://issues.apache.org/jira/browse/SPARK-27604 > Project: Spark > Issue Type: Bug > Components: SQL > Affects Versions: 3.0.0 > Reporter: Peter Toth > Priority: Major > > There is some room for improvement as constant propagation could allow > substitution of deterministic expressions (instead of attributes only) to > constants and substitutions in other than equal predicates. -- 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