You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Jesus Camacho Rodriguez (JIRA)" <ji...@apache.org> on 2016/07/08 20:22:11 UTC

[jira] [Resolved] (HIVE-12393) Simplify ColumnPruner when CBO optimizes the query

     [ https://issues.apache.org/jira/browse/HIVE-12393?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jesus Camacho Rodriguez resolved HIVE-12393.
--------------------------------------------
    Resolution: Duplicate

> Simplify ColumnPruner when CBO optimizes the query
> --------------------------------------------------
>
>                 Key: HIVE-12393
>                 URL: https://issues.apache.org/jira/browse/HIVE-12393
>             Project: Hive
>          Issue Type: Bug
>          Components: Logical Optimizer
>    Affects Versions: 2.0.0
>            Reporter: Jesus Camacho Rodriguez
>            Assignee: Jesus Camacho Rodriguez
>
> The plan for any given query optimized by CBO will always contain a Project operator on top of the TS that prunes that columns that are not needed.
> Thus, there is no need for Hive optimizer to traverse the whole plan to check which columns can be pruned. In fact, Hive ColumnPruner optimizer only needs to match TS operators when CBO optimized the plan.



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