[
https://issues.apache.org/jira/browse/HIVE-7734?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14099876#comment-14099876
]
Brock Noland commented on HIVE-7734:
------------------------------------
Is there a reason we have HashMap on the LHS?
{noformat}
+ HashMap<String, Long> rowCountParents = new HashMap<String, Long>();
{noformat}
> Join stats annotation rule is not updating columns statistics correctly
> -----------------------------------------------------------------------
>
> Key: HIVE-7734
> URL: https://issues.apache.org/jira/browse/HIVE-7734
> Project: Hive
> Issue Type: Sub-task
> Components: Query Processor, Statistics
> Affects Versions: 0.14.0
> Reporter: Prasanth J
> Assignee: Prasanth J
> Fix For: 0.13.0
>
> Attachments: HIVE-7734.1.patch
>
>
> HIVE-7679 is not doing the correct thing. The scale down/up factor updating
> column stats was wrong as ratio = newRowCount/oldRowCount is always infinite
> (oldRowCount = 0). The old row count should be retrieved from parent
> corresponding to the current column whose statistics is being updated.
--
This message was sent by Atlassian JIRA
(v6.2#6252)