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 9692F179E8 for ; Thu, 30 Oct 2014 01:22:35 +0000 (UTC) Received: (qmail 47211 invoked by uid 500); 30 Oct 2014 01:22:34 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 47133 invoked by uid 500); 30 Oct 2014 01:22:34 -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 47120 invoked by uid 500); 30 Oct 2014 01:22:34 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 47116 invoked by uid 99); 30 Oct 2014 01:22:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Oct 2014 01:22:34 +0000 Date: Thu, 30 Oct 2014 01:22:34 +0000 (UTC) From: "Brock Noland (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-8648) numRows cannot be set by user 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-8648?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brock Noland updated HIVE-8648: ------------------------------- Description: Since HIVE-3777 users who want to set the number of rows for a table, must do as follows: {noformat} alter table ... set tblproperties ('numRows' = '12345', 'STATS_GENERATED_VIA_STATS_TASK' = 'true'); {noformat} Which is strange because (1) users can know the numbers of rows and (2) the stat is not generated by a stats task. was: Since HIVE-3777 users who know the number of rows in a table and want to set that statistic must do: {noformat} alter table ... set tblproperties ('numRows' = '12345', 'STATS_GENERATED_VIA_STATS_TASK' = 'true'); {noformat} Users should be able to set the number of rows. > numRows cannot be set by user > ----------------------------- > > Key: HIVE-8648 > URL: https://issues.apache.org/jira/browse/HIVE-8648 > Project: Hive > Issue Type: Bug > Reporter: Brock Noland > Assignee: Brock Noland > Attachments: HIVE-8648.1.patch > > > Since HIVE-3777 users who want to set the number of rows for a table, must do as follows: > {noformat} > alter table ... set tblproperties ('numRows' = '12345', 'STATS_GENERATED_VIA_STATS_TASK' = 'true'); > {noformat} > Which is strange because (1) users can know the numbers of rows and (2) the stat is not generated by a stats task. -- This message was sent by Atlassian JIRA (v6.3.4#6332)