hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thejas M Nair (JIRA)" <>
Subject [jira] [Commented] (HIVE-3959) Update Partition Statistics in Metastore Layer
Date Thu, 31 Oct 2013 21:31:19 GMT


Thejas M Nair commented on HIVE-3959:

Can you please rebase the patch  (as HIVE-5610 changes are in) ?

> Update Partition Statistics in Metastore Layer
> ----------------------------------------------
>                 Key: HIVE-3959
>                 URL:
>             Project: Hive
>          Issue Type: Improvement
>          Components: Metastore, Statistics
>            Reporter: Bhushan Mandhani
>            Assignee: Ashutosh Chauhan
>            Priority: Minor
>         Attachments: HIVE-3959.1.patch, HIVE-3959.2.patch, HIVE-3959.3.patch, HIVE-3959.3.patch,
HIVE-3959.4.patch, HIVE-3959.4.patch, HIVE-3959.patch.1, HIVE-3959.patch.11.txt, HIVE-3959.patch.12.txt,
> When partitions are created using queries ("insert overwrite" and "insert into") then
the StatsTask updates all stats. However, when partitions are added directly through metadata-only
partitions (either CLI or direct calls to Thrift Metastore) no stats are populated even if
hive.stats.reliable is set to true. This puts us in a situation where we can't decide if stats
are truly reliable or not.
> We propose that the "fast stats" (numFiles and totalSize) which don't require a scan
of the data should always be populated and be completely reliable. For now we are still excluding
rowCount and rawDataSize because that will make these operations very expensive. Currently
they are quick metadata-only ops.  

This message was sent by Atlassian JIRA

View raw message