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

Ashutosh Chauhan edited comment on HIVE-9140 at 12/17/14 5:39 PM:
------------------------------------------------------------------

[~jpullokkaran] Can you take a look at this one? I initially thought its better 
to have it in applyPreCBOTransformations() but than I realized that our join 
ordering algorithm leaves {{where true}} predicates while optimizing tree. 
Since, it will be good to remove such predicates, I have added these rules 
alongwith join ordering rules.  Let me know what do you think.


was (Author: ashutoshc):
[~jpullokkaran] Can you take a look at this one? I initially thought its better 
to have it in applyPreCBOTransformations() but than I realized that our join 
ordering algorithm leaves {where true} predicates while optimizing tree. Since, 
it will be good to remove such predicates, I have added these rules alongwith 
join ordering rules.  Let me know what do you think.

> Add ReduceExpressionRules from Calcite into Hive
> ------------------------------------------------
>
>                 Key: HIVE-9140
>                 URL: https://issues.apache.org/jira/browse/HIVE-9140
>             Project: Hive
>          Issue Type: Improvement
>          Components: CBO, Logical Optimizer
>    Affects Versions: 0.14.0
>            Reporter: Ashutosh Chauhan
>            Assignee: Ashutosh Chauhan
>         Attachments: HIVE-9140.patch
>
>
> These rules provide a form of constant folding.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to