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 B6E3E18646 for ; Mon, 1 Feb 2016 15:45:40 +0000 (UTC) Received: (qmail 70208 invoked by uid 500); 1 Feb 2016 15:45:40 -0000 Delivered-To: apmail-hive-issues-archive@hive.apache.org Received: (qmail 70137 invoked by uid 500); 1 Feb 2016 15:45:40 -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 69794 invoked by uid 99); 1 Feb 2016 15:45:40 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Feb 2016 15:45:40 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 147462C1F6F for ; Mon, 1 Feb 2016 15:45:40 +0000 (UTC) Date: Mon, 1 Feb 2016 15:45:40 +0000 (UTC) From: "Aihua Xu (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-12946) alter table should also add default scheme and authority for the location similar to create table 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-12946?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Aihua Xu updated HIVE-12946: ---------------------------- Attachment: HIVE-12946.2.patch > alter table should also add default scheme and authority for the location similar to create table > -------------------------------------------------------------------------------------------------- > > Key: HIVE-12946 > URL: https://issues.apache.org/jira/browse/HIVE-12946 > Project: Hive > Issue Type: Improvement > Components: Metastore > Affects Versions: 2.1.0 > Reporter: Aihua Xu > Assignee: Aihua Xu > Attachments: HIVE-12946.1.patch, HIVE-12946.2.patch > > > When you call create table command (create table ... location '/abc') and check the database, you will notice that the table location has the scheme. While alter table set location '/abc' would throw an error "{0} is not absolute or has no scheme information. Please specify a complete absolute uri with scheme information. /abc". > Seems it should be consistent. -- This message was sent by Atlassian JIRA (v6.3.4#6332)