You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Jesus Camacho Rodriguez (JIRA)" <ji...@apache.org> on 2015/02/10 12:52:38 UTC

[jira] [Created] (HIVE-9636) Apply IdentityProjectRemover after other optimizations

Jesus Camacho Rodriguez created HIVE-9636:
---------------------------------------------

             Summary: 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


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
(v6.3.4#6332)