You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Xuefu Zhang (JIRA)" <ji...@apache.org> on 2013/11/14 18:41:21 UTC

[jira] [Commented] (HIVE-5771) Constant propagation optimizer for Hive

    [ https://issues.apache.org/jira/browse/HIVE-5771?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13822655#comment-13822655 ] 

Xuefu Zhang commented on HIVE-5771:
-----------------------------------

[~tedxu] Thank you for your patch. Please rename the patch according to the convention so that test can run, something like HIVE-5771.patch, HIVE-5771.1.patch, and so on.

> Constant propagation optimizer for Hive
> ---------------------------------------
>
>                 Key: HIVE-5771
>                 URL: https://issues.apache.org/jira/browse/HIVE-5771
>             Project: Hive
>          Issue Type: Improvement
>          Components: Query Processor
>            Reporter: Ted Xu
>            Assignee: Ted Xu
>         Attachments: constprog_default_true.patch
>
>
> Currently there is no constant folding/propagation optimizer, all expressions are evaluated at runtime. 
> HIVE-2470 did a great job on evaluating constants on UDF initializing phase, however, it is still a runtime evaluation and it doesn't propagate constants from a subquery to outside.
> It may reduce I/O and accelerate process if we introduce such an optimizer.



--
This message was sent by Atlassian JIRA
(v6.1#6144)