You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Sergey Shelukhin (JIRA)" <ji...@apache.org> on 2015/11/20 00:13:11 UTC

[jira] [Updated] (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 ]

Sergey Shelukhin updated HIVE-12393:
------------------------------------
    Target Version/s:   (was: 2.0.0)

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