Tejas Patil created SPARK-20758: ----------------------------------- Summary: Add Constant propagation optimization Key: SPARK-20758 URL: https://issues.apache.org/jira/browse/SPARK-20758 Project: Spark Issue Type: Improvement Components: SQL Affects Versions: 2.1.1 Reporter: Tejas Patil Priority: Minor
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 (v6.3.15#6346) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org