[
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.10.patch
I added an additional check to know whether although the SelectOp keeps all the
columns in the inputs, it swaps them; in this case, it should not be removed
from the plan.
Let's see how the tests go.
> 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: Jesús Camacho Rodríguez
> Labels: TODOC15
> Fix For: 0.15.0
>
> Attachments: HIVE-8435.02.patch, HIVE-8435.03.patch,
> HIVE-8435.03.patch, HIVE-8435.04.patch, HIVE-8435.05.patch,
> HIVE-8435.05.patch, HIVE-8435.06.patch, HIVE-8435.07.patch,
> HIVE-8435.08.patch, HIVE-8435.09.patch, HIVE-8435.1.patch,
> HIVE-8435.10.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)