Impala allow to add partitions dynamically as following.
insert into table1 partition (part_col1="merged",part_col2,part_col3)
select col1,col2,col3,part_col2,part_col3 from table2 where
col="SomeValue"
So it will add multiple partitions depending upon the results from the select query.But when it comes to dropping the partitions there does not seem to be equivalent. is there ? You have to explicitly specify partitions to be dropped.
alter table table1 drop
partition(part_col1="A",part_col2="B",part_col3="C")
I can not just say something like
alter table table1 drop partition(part_col1="A",part_col2,part_col3)