[
https://issues.apache.org/jira/browse/HIVE-12503?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15024654#comment-15024654
]
Jesus Camacho Rodriguez commented on HIVE-12503:
------------------------------------------------
[~ashutoshc], what happens if you discard a transformation because locally it
has a bigger cost, but it could lead to a better plan after applying more
transformations? It seems wrong that the decision is taken by the rule; instead
it should be taken by the planner. What do you think?
> GBY-Join transpose rule may go in infinite loop
> -----------------------------------------------
>
> Key: HIVE-12503
> URL: https://issues.apache.org/jira/browse/HIVE-12503
> Project: Hive
> Issue Type: Bug
> Components: CBO, Logical Optimizer
> Affects Versions: 2.0.0
> Reporter: Ashutosh Chauhan
> Assignee: Ashutosh Chauhan
> Attachments: HIVE-12503.1.patch, HIVE-12503.patch
>
>
> This happens when pushing aggregate is not found to be any cheaper. Can be
> reproduced by running cbo_rp_auto_join1.q with flag turned on.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)