Return-Path: X-Original-To: apmail-hive-issues-archive@minotaur.apache.org Delivered-To: apmail-hive-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4C13618202 for ; Thu, 18 Feb 2016 15:49:18 +0000 (UTC) Received: (qmail 9944 invoked by uid 500); 18 Feb 2016 15:49:18 -0000 Delivered-To: apmail-hive-issues-archive@hive.apache.org Received: (qmail 9906 invoked by uid 500); 18 Feb 2016 15:49:18 -0000 Mailing-List: contact issues-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 issues@hive.apache.org Received: (qmail 9889 invoked by uid 99); 18 Feb 2016 15:49:18 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Feb 2016 15:49:18 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 13F652C14F2 for ; Thu, 18 Feb 2016 15:49:18 +0000 (UTC) Date: Thu, 18 Feb 2016 15:49:18 +0000 (UTC) From: "Aihua Xu (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-13050) The row count is not correct after changing partition location to point to another partition location 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-13050?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Aihua Xu updated HIVE-13050: ---------------------------- Issue Type: Improvement (was: Bug) > The row count is not correct after changing partition location to point to another partition location > ----------------------------------------------------------------------------------------------------- > > Key: HIVE-13050 > URL: https://issues.apache.org/jira/browse/HIVE-13050 > Project: Hive > Issue Type: Improvement > Components: Query Processor > Affects Versions: 2.1.0 > Reporter: Aihua Xu > Assignee: Aihua Xu > > {noformat} > CREATE TABLE test (s STRING) PARTITIONED BY (p SMALLINT) location 'data/test'; > INSERT INTO test PARTITION (`p`=1) VALUES ("v1"); > INSERT INTO test PARTITION (`p`=2) VALUES ("v2"); > ALTER TABLE test PARTITION (`p`=2) SET LOCATION '/data/test/p=1'; > {noformat} > {{select * from test;}} shows 2 rows while {{SELECT count(*) FROM test;}} shows 1. > That is inconsistent. -- This message was sent by Atlassian JIRA (v6.3.4#6332)