[
https://issues.apache.org/jira/browse/HIVE-4209?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Navis updated HIVE-4209:
------------------------
Fix Version/s: 0.12.0
Status: Patch Available (was: Open)
Committed to trunk. Thanks for a review, Namit.
> 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
> Fix For: 0.12.0
>
> Attachments: HIVE-4209.6.patch.txt, 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