hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Xu (JIRA)" <>
Subject [jira] [Commented] (HIVE-5771) Constant propagation optimizer for Hive
Date Fri, 15 Nov 2013 02:11:22 GMT


Ted Xu commented on HIVE-5771:

Eric, thank you for your comment. 

Yes, the constant propagate is an logical plan optimizer so it will process before vectorization
process. But I'm not sure how constant folding can benefit vectorized execution. If there
is anything I can do to improve it please let me know, thanks!

I created a review request here:

> Constant propagation optimizer for Hive
> ---------------------------------------
>                 Key: HIVE-5771
>                 URL:
>             Project: Hive
>          Issue Type: Improvement
>          Components: Query Processor
>            Reporter: Ted Xu
>            Assignee: Ted Xu
>         Attachments: HIVE-5771.patch, 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

View raw message