blob: 07b6d143d11bd77f88b0ef7f4d59d2cbbbff37be [file] [log] [blame]
--! qt:dataset:src
create external table srcpart2 (key int, value string) partitioned by (ds string) clustered by (key) sorted by (key) into 2 buckets stored as RCFILE;
insert overwrite table srcpart2 partition (ds='2011') select * from src;
alter table srcpart2 partition (ds = '2011') concatenate;