标签:hive
1、查看表结构信息desc extended f_tblog_online_mds;
2、查看分区
show partitions table_name;
3、根据分区查询,提高速度
select table_coulm from table_name where partition_name = ‘2014-02-25‘;
4、删除分区
alter table table_name drop partition(dt=‘2014-03-01‘);
5、删除表
drop tablename;
标签:hive
原文地址:http://blog.csdn.net/smile0198/article/details/34528851