[ https://issues.apache.org/jira/browse/HIVE-12946?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Aihua Xu updated HIVE-12946: ---------------------------- Description: 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. was: 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. > 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 > > 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)