由于实际开发测试中,动态插入hive分区表的变量,如果{day} 变量未赋值,就会出现类似如下分区出现:
如何删除?
1 alter table table_name drop partition(dt='${day}');