blob: 4f0b40cea19de2e7f0e2fb8c1ccc4e38bd817517 [file] [log] [blame]
--! qt:dataset:src1
-- create testing table
create table alter_coltype(key string, value string) partitioned by (dt string, ts string);
-- insert and create a partition
insert overwrite table alter_coltype partition(dt='100x', ts='6:30pm') select * from src1;
desc alter_coltype;
-- alter partition change multiple keys at same time
alter table alter_coltype partition column (dt int, ts int);