Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Invalid
-
None
-
None
-
None
-
None
Description
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.