You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Phabricator (JIRA)" <ji...@apache.org> on 2013/03/21 06:27:16 UTC

[jira] [Updated] (HIVE-4209) Cache evaluation result of deterministic expression and reuse it

     [ 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.1.patch

navis requested code review of "HIVE-4209 [jira] Cache evaluation result of deterministic expression and reuse it".

Reviewers: JIRA

HIVE-4209 Cache evaluation result of deterministic expression and reuse it

For example,

select key from src where key + 1 > 100 AND key + 1 < 200 limit 3;

key + 1 need not to be evaluated twice.

TEST PLAN
  EMPTY

REVISION DETAIL
  https://reviews.facebook.net/D9585

AFFECTED FILES
  common/src/java/org/apache/hadoop/hive/conf/HiveConf.java
  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/ExprNodeEvaluatorRef.java
  ql/src/java/org/apache/hadoop/hive/ql/exec/ExprNodeNullEvaluator.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

MANAGE HERALD RULES
  https://reviews.facebook.net/herald/view/differential/

WHY DID I GET THIS EMAIL?
  https://reviews.facebook.net/herald/transcript/22905/

To: JIRA, navis

                
> 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
>
>
> 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