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

Jesus Camacho Rodriguez resolved HIVE-9636.
-------------------------------------------
    Resolution: Invalid

> Apply IdentityProjectRemover after other optimizations
> ------------------------------------------------------
>
>                 Key: HIVE-9636
>                 URL: https://issues.apache.org/jira/browse/HIVE-9636
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Jesus Camacho Rodriguez
>            Assignee: Jesus Camacho Rodriguez
>            Priority: Major
>         Attachments: HIVE-9636.patch
>
>
> IdentityProjectRemove optimizer may remove some Project operators that change 
> the table alias for the input columns; this might cause optimizations such as 
> StatsOptimizer, that rely on colExprMap and consequently store table aliases, 
> to behave incorrectly.
> To avoid this, we could apply IdentityProjectRemove optimization after all 
> the rest have been previously applied, and document it accordingly.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to