hive批量删除多个分区数据

举个栗子:
批量删除2019-01-01到2020-09-03号范围内的分区
alter table drop partition (ds<‘2020-09-03’,ds>‘2019-01-01’);

你可能感兴趣的:(sql,hadoop)