You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Ashutosh Chauhan (JIRA)" <ji...@apache.org> on 2014/12/17 18:40:13 UTC

[jira] [Comment Edited] (HIVE-9140) Add ReduceExpressionRules from Calcite into Hive

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