Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0D25810DA1 for ; Fri, 8 Nov 2013 07:39:26 +0000 (UTC) Received: (qmail 24593 invoked by uid 500); 8 Nov 2013 07:39:24 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 24547 invoked by uid 500); 8 Nov 2013 07:39:23 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Received: (qmail 24488 invoked by uid 500); 8 Nov 2013 07:39:20 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 24472 invoked by uid 99); 8 Nov 2013 07:39:18 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Nov 2013 07:39:18 +0000 Date: Fri, 8 Nov 2013 07:39:18 +0000 (UTC) From: "Ashutosh Chauhan (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-3777) add a property in the partition to figure out if stats are accurate MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-3777?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ashutosh Chauhan updated HIVE-3777: ----------------------------------- Status: Open (was: Patch Available) > add a property in the partition to figure out if stats are accurate > ------------------------------------------------------------------- > > Key: HIVE-3777 > URL: https://issues.apache.org/jira/browse/HIVE-3777 > Project: Hive > Issue Type: Improvement > Components: Query Processor > Affects Versions: 0.13.0 > Reporter: Namit Jain > Assignee: Ashutosh Chauhan > Attachments: HIVE-3777.2.patch, HIVE-3777.2.patch, HIVE-3777.3.patch, HIVE-3777.4.patch, HIVE-3777.patch > > > Currently, stats task tries to update the statistics in the table/partition > being updated after the table/partition is loaded. In case of a failure to > update these stats (due to the any reason), the operation either succeeds > (writing inaccurate stats) or fails depending on whether hive.stats.reliable > is set to true. This can be bad for applications who do not always care about > reliable stats, since the query may have taken a long time to execute and then > fail eventually. > Another property should be added to the partition: areStatsAccurate. If hive.stats.reliable is > set to false, and stats could not be computed correctly, the operation would > still succeed, update the stats, but set areStatsAccurate to false. > If the application cares about accurate stats, it can be obtained in the > background. -- This message was sent by Atlassian JIRA (v6.1#6144)