drop table alter2; create table alter2(a int, b int) partitioned by (insertdate string); describe extended alter2; show partitions alter2; alter table alter2 add partition (insertdate='2008-01-01') location '2008/01/01'; describe extended alter2; show partitions alter2; alter table alter2 add partition (insertdate='2008-01-02') location '2008/01/02'; describe extended alter2; show partitions alter2; drop table alter2; create external table alter2(a int, b int) partitioned by (insertdate string); describe extended alter2; show partitions alter2; alter table alter2 add partition (insertdate='2008-01-01') location '2008/01/01'; describe extended alter2; show partitions alter2; alter table alter2 add partition (insertdate='2008-01-02') location '2008/01/02'; describe extended alter2; show partitions alter2; drop table alter2;