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)