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 107EFF1A6 for ; Tue, 16 Apr 2013 17:41:20 +0000 (UTC) Received: (qmail 65985 invoked by uid 500); 16 Apr 2013 17:41:18 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 65919 invoked by uid 500); 16 Apr 2013 17:41:18 -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 65876 invoked by uid 500); 16 Apr 2013 17:41:18 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 65864 invoked by uid 99); 16 Apr 2013 17:41:18 -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 17:41:18 +0000 Date: Tue, 16 Apr 2013 17:41:17 +0000 (UTC) From: "Hudson (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (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:comment-tabpanel&focusedCommentId=13633057#comment-13633057 ] Hudson commented on HIVE-4275: ------------------------------ Integrated in Hive-trunk-hadoop2 #162 (See [https://builds.apache.org/job/Hive-trunk-hadoop2/162/]) HIVE-4275 : Hive does not differentiate scheme and authority in file uris (Vikram Dixit via Ashutosh Chauhan) (Revision 1468445) Result = FAILURE hashutosh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1468445 Files : * /hive/trunk/build-common.xml * /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/MapOperator.java * /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/Utilities.java * /hive/trunk/ql/src/test/org/apache/hadoop/hive/ql/exec/TestExecDriver.java * /hive/trunk/ql/src/test/org/apache/hadoop/hive/ql/exec/TestOperators.java * /hive/trunk/ql/src/test/queries/clientpositive/schemeAuthority.q * /hive/trunk/ql/src/test/results/clientpositive/schemeAuthority.q.out > 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 > Fix For: 0.12.0 > > 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