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 07C0210A69 for ; Wed, 18 Sep 2013 23:26:53 +0000 (UTC) Received: (qmail 87229 invoked by uid 500); 18 Sep 2013 23:26:52 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 87178 invoked by uid 500); 18 Sep 2013 23:26:52 -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 87170 invoked by uid 500); 18 Sep 2013 23:26:52 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 87167 invoked by uid 99); 18 Sep 2013 23:26:52 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Sep 2013 23:26:52 +0000 Date: Wed, 18 Sep 2013 23:26:52 +0000 (UTC) From: "Shuaishuai Nie (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-5032) Enable hive creating external table at the root directory of DFS 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-5032?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shuaishuai Nie updated HIVE-5032: --------------------------------- Attachment: HIVE-5032.2.patch Sorry for the delay of response [~ashutoshc], missed the email. Attached the patch with unit test. > Enable hive creating external table at the root directory of DFS > ---------------------------------------------------------------- > > Key: HIVE-5032 > URL: https://issues.apache.org/jira/browse/HIVE-5032 > Project: Hive > Issue Type: Bug > Reporter: Shuaishuai Nie > Assignee: Shuaishuai Nie > Attachments: HIVE-5032.1.patch, HIVE-5032.2.patch > > > Creating external table using HIVE with location point to the root directory of DFS will fail because the function HiveFileFormatUtils#doGetPartitionDescFromPath treat authority of the path the same as folder and cannot find a match in the "pathToPartitionInfo" table when doing prefix match. -- 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