kalor

导航

 

2013年3月26日

摘要: Alter TableMost table properties can be altered with Alter Table statements, which change metadata about the table but not the data itself. These statements can be used to fix mistakes in schema, move partition locations and so on.1. Renamign a Table: hive> alter table log_messages rename to logm 阅读全文
posted @ 2013-03-26 22:00 kalor 阅读(1547) 评论(0) 推荐(0) 编辑
 
摘要: External Tables However, managed tables are less convinent for sharing with other tools. For example, suppose we have data that is created and used primarily by Pig or other tools, but we want to run some quries against it, but not give Hive ownership of the data. So we can define an external table 阅读全文
posted @ 2013-03-26 14:07 kalor 阅读(2115) 评论(0) 推荐(0) 编辑