PageRenderTime 12ms CodeModel.GetById 5ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/tags/release-0.0.0-rc0/hive/external/ql/src/test/queries/clientpositive/partition_wise_fileformat4.q

#
text | 8 lines | 6 code | 2 blank | 0 comment | 0 complexity | fc3d6aa81c85ada572d7b36670bfb48b MD5 | raw file
1create table partition_test_partitioned(key string, value string) partitioned by (dt string);
2alter table partition_test_partitioned set fileformat sequencefile;
3insert overwrite table partition_test_partitioned partition(dt='1') select * from src1;
4alter table partition_test_partitioned partition (dt='1') set fileformat sequencefile;
5
6alter table partition_test_partitioned add partition (dt='2');
7alter table partition_test_partitioned drop partition (dt='2');
8