You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Aihua Xu (JIRA)" <ji...@apache.org> on 2016/02/01 16:45:40 UTC

[jira] [Updated] (HIVE-12946) alter table should also add default scheme and authority for the location similar to create table

     [ 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)