[ https://issues.apache.org/jira/browse/HIVE-17934?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16245278#comment-16245278 ]
Ashutosh Chauhan commented on HIVE-17934: ----------------------------------------- * If one of TS is partial, then I think its correct to have child as PARTIAL too. * If stats exist and are 0 then we shall consider it to be complete, if stats are missing then it should be partial. I thinking breaking it down in series of smaller patches is a good idea. Both from review point of view and also to facilitate backports to older branches if needed. > Merging Statistics are promoted to COMPLETE (most of the time) > -------------------------------------------------------------- > > Key: HIVE-17934 > URL: https://issues.apache.org/jira/browse/HIVE-17934 > Project: Hive > Issue Type: Bug > Components: Statistics > Reporter: Zoltan Haindrich > Assignee: Zoltan Haindrich > Attachments: HIVE-17934.01.patch, HIVE-17934.02.patch, > HIVE-17934.03.patch, HIVE-17934.04.patch, HIVE-17934.05.patch, > HIVE-17934.06wip01.patch > > > in case multiple partition statistics are merged the STATS state is computed > based on the datasize and rowcount; > the merge may hide away non-existent stats in case there are other partition > or operators which do contribute to the datasize and the rowcount. -- This message was sent by Atlassian JIRA (v6.4.14#64029)