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

Jesús Camacho Rodríguez updated HIVE-8435:
------------------------------------------
    Attachment: HIVE-8435.05.patch

I think the following fix is sound, although maybe it is not complete (it does 
not cover all cases). It is based on some aux functions that were also 
introduced in https://issues.apache.org/jira/browse/HIVE-8625 .

> Add identity project remover optimization
> -----------------------------------------
>
>                 Key: HIVE-8435
>                 URL: https://issues.apache.org/jira/browse/HIVE-8435
>             Project: Hive
>          Issue Type: New Feature
>          Components: Logical Optimizer
>    Affects Versions: 0.9.0, 0.10.0, 0.11.0, 0.12.0, 0.13.0
>            Reporter: Ashutosh Chauhan
>            Assignee: Sergey Shelukhin
>         Attachments: HIVE-8435.02.patch, HIVE-8435.03.patch, 
> HIVE-8435.03.patch, HIVE-8435.04.patch, HIVE-8435.05.patch, 
> HIVE-8435.1.patch, HIVE-8435.patch
>
>
> In some cases there is an identity project in plan which is useless. Better 
> to optimize it away to avoid evaluating it without any benefit at runtime.



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

Reply via email to