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 9154DFE3F for ; Tue, 16 Apr 2013 02:00:18 +0000 (UTC) Received: (qmail 4819 invoked by uid 500); 16 Apr 2013 02:00:17 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 4740 invoked by uid 500); 16 Apr 2013 02:00:17 -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 4730 invoked by uid 500); 16 Apr 2013 02:00:17 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 4727 invoked by uid 99); 16 Apr 2013 02:00:17 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Apr 2013 02:00:17 +0000 Date: Tue, 16 Apr 2013 02:00:17 +0000 (UTC) From: "Vikram Dixit K (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-4275) Hive does not differentiate scheme and authority in file uris 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-4275?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vikram Dixit K updated HIVE-4275: --------------------------------- Attachment: HIVE-4275.4.patch > Hive does not differentiate scheme and authority in file uris > ------------------------------------------------------------- > > Key: HIVE-4275 > URL: https://issues.apache.org/jira/browse/HIVE-4275 > Project: Hive > Issue Type: Bug > Components: Query Processor > Affects Versions: 0.11.0 > Reporter: Vikram Dixit K > Assignee: Vikram Dixit K > Attachments: HIVE-4275.2.patch, HIVE-4275.3.patch, HIVE-4275.4.patch, HIVE-4275.patch > > > Consider the following set of queries: > ALTER TABLE abc ADD PARTITION (x='0') LOCATION 'file:///foo'; > ALTER TABLE abc ADD PARTITION (x='1') LOCATION '/foo'; > select count(*) from abc; > Even though there are different files under these directories, depending on number of mappers, the count produces a value = num of mappers * num of files in the 2 directories. This is incorrect. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira