[ https://issues.apache.org/jira/browse/SPARK-20758?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jinhua Fu updated SPARK-20758: ------------------------------ Issue Type: New JIRA Project (was: Improvement) > Add Constant propagation optimization > ------------------------------------- > > Key: SPARK-20758 > URL: https://issues.apache.org/jira/browse/SPARK-20758 > Project: Spark > Issue Type: New JIRA Project > Components: SQL > Affects Versions: 2.1.1 > Reporter: Tejas Patil > Assignee: Tejas Patil > Priority: Minor > Fix For: 2.3.0 > > > Constant propagation involves substituting attributes which can be statically > evaluated in expressions. Its a pretty common optimization in compilers world. > eg. > {noformat} > SELECT * FROM table WHERE i = 5 AND j = i + 3 > {noformat} > can be re-written as: > {noformat} > SELECT * FROM table WHERE i = 5 AND j = 8 > {noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org