[ 
https://issues.apache.org/jira/browse/HIVE-2584?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14061885#comment-14061885
 ] 

Lars Francke commented on HIVE-2584:
------------------------------------

This'd be great to get in to the next version. It's a major undocumented 
inconsistency between {{ALTER TABLE}} and most other commands that do accept a 
fully qualified name.

> Alter table should accept database name
> ---------------------------------------
>
>                 Key: HIVE-2584
>                 URL: https://issues.apache.org/jira/browse/HIVE-2584
>             Project: Hive
>          Issue Type: Improvement
>    Affects Versions: 0.7.1
>            Reporter: Bharath Mundlapudi
>            Assignee: Chun Chen
>         Attachments: HIVE-2584.2.patch, HIVE-2584.3.patch, HIVE-2584.4.patch, 
> HIVE-2584.5.patch, HIVE-2584.6.patch, HIVE-2584.patch
>
>
> It would be nice if alter table accepts database name.
> For example:
> This would be more useful in certain usecases:
>  
> alter table DB.Tbl set location <location>;
> rather than 2 statements.
> use DB;
> alter table Tbl set location <location>;
>  



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to