[ https://issues.apache.org/jira/browse/HIVE-4209?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Phabricator updated HIVE-4209: ------------------------------ Attachment: HIVE-4209.D9585.5.patch navis updated the revision "HIVE-4209 [jira] Cache evaluation result of deterministic expression and reuse it". Addressed comments Reviewers: JIRA REVISION DETAIL https://reviews.facebook.net/D9585 CHANGE SINCE LAST DIFF https://reviews.facebook.net/D9585?vs=30843&id=32853#toc AFFECTED FILES common/src/java/org/apache/hadoop/hive/conf/HiveConf.java conf/hive-default.xml.template ql/src/java/org/apache/hadoop/hive/ql/exec/ExprNodeColumnEvaluator.java ql/src/java/org/apache/hadoop/hive/ql/exec/ExprNodeConstantEvaluator.java ql/src/java/org/apache/hadoop/hive/ql/exec/ExprNodeEvaluator.java ql/src/java/org/apache/hadoop/hive/ql/exec/ExprNodeEvaluatorFactory.java ql/src/java/org/apache/hadoop/hive/ql/exec/ExprNodeEvaluatorHead.java ql/src/java/org/apache/hadoop/hive/ql/exec/ExprNodeNullEvaluator.java ql/src/java/org/apache/hadoop/hive/ql/exec/ExprNodeEvaluatorRef.java ql/src/java/org/apache/hadoop/hive/ql/exec/ExprNodeFieldEvaluator.java ql/src/java/org/apache/hadoop/hive/ql/exec/ExprNodeGenericFuncEvaluator.java ql/src/java/org/apache/hadoop/hive/ql/exec/FilterOperator.java ql/src/java/org/apache/hadoop/hive/ql/exec/JoinUtil.java ql/src/java/org/apache/hadoop/hive/ql/exec/SelectOperator.java ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDF.java To: JIRA, navis Cc: njain > Cache evaluation result of deterministic expression and reuse it > ---------------------------------------------------------------- > > Key: HIVE-4209 > URL: https://issues.apache.org/jira/browse/HIVE-4209 > Project: Hive > Issue Type: Improvement > Components: Query Processor > Reporter: Navis > Assignee: Navis > Priority: Minor > Attachments: HIVE-4209.D9585.1.patch, HIVE-4209.D9585.2.patch, > HIVE-4209.D9585.3.patch, HIVE-4209.D9585.4.patch, HIVE-4209.D9585.5.patch > > > For example, > {noformat} > select key from src where key + 1 > 100 AND key + 1 < 200 limit 3; > {noformat} > key + 1 need not to be evaluated twice. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira