批量删除Hive表分区
alter table siebel_member
drop if exists
partition(pt='20180401') location '20180401',
partition(pt='20180402') location '20180402',
partition(pt='20180403') location '20180403',
partition(pt='20180404') location '20180404';
alter table siebel_member
drop if exists
partition(pt='20180401') location '20180401',
partition(pt='20180402') location '20180402',
partition(pt='20180403') location '20180403',
partition(pt='20180404') location '20180404';
本文标题:Hive 删除分区
本文链接:https://www.haomeiwen.com/subject/riuvkqtx.html
网友评论