[ 
https://issues.apache.org/jira/browse/HIVE-16871?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16044996#comment-16044996
 ] 

Thejas M Nair commented on HIVE-16871:
--------------------------------------

+1

Can you please add a minor comment before commit -
{code}
 // testing to ensure that repeated reads return the same aggregate stats
 AggrStats aggrStats = cachedStore.get_aggr_stats_for(dbName, tblName, 
aggrPartVals, colNames);
{code}

> CachedStore.get_aggr_stats_for has side affect
> ----------------------------------------------
>
>                 Key: HIVE-16871
>                 URL: https://issues.apache.org/jira/browse/HIVE-16871
>             Project: Hive
>          Issue Type: Bug
>          Components: Metastore
>            Reporter: Daniel Dai
>            Assignee: Daniel Dai
>         Attachments: HIVE-16871.1.patch, HIVE-16871.2.patch
>
>
> Every get_aggr_stats_for accumulates the stats and propagated to the first 
> partition stats object. It accumulates and gives wrong result in the follow 
> up invocations.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to