You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Ashutosh Chauhan (JIRA)" <ji...@apache.org> on 2016/04/29 00:08:12 UTC

[jira] [Commented] (HIVE-13637) Fold CASE into NVL when CBO optimized the plan

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

Ashutosh Chauhan commented on HIVE-13637:
-----------------------------------------

Wondering if it were better to do this on Calcite tree instead? May be HiveRexUtil::simplify()

> Fold CASE into NVL when CBO optimized the plan
> ----------------------------------------------
>
>                 Key: HIVE-13637
>                 URL: https://issues.apache.org/jira/browse/HIVE-13637
>             Project: Hive
>          Issue Type: Sub-task
>          Components: CBO
>    Affects Versions: 2.1.0
>            Reporter: Jesus Camacho Rodriguez
>            Assignee: Jesus Camacho Rodriguez
>         Attachments: HIVE-13637.patch
>
>
> After HIVE-13068 goes in, folding CASE into NVL got disabled when CBO has optimized the plan, as it was done by ConstantPropagate in Hive. We need to enable it back.



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