PageRenderTime 3ms CodeModel.GetById 1ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

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

#
text | 13 lines | 8 code | 5 blank | 0 comment | 0 complexity | c6647366cbd3c31036a08eaf5e537cd0 MD5 | raw file
 1
 2set hive.exec.dynamic.partition=true;
 3set hive.exec.dynamic.partition.mode=nonstrict;
 4
 5create table if not exists load_dyn_part15_test (key string) 
 6  partitioned by (part_key string);
 7
 8show partitions load_dyn_part15_test;
 9
10INSERT OVERWRITE TABLE load_dyn_part15_test PARTITION(part_key)
11SELECT key, part_key FROM src LATERAL VIEW explode(array("1","{2","3]")) myTable AS part_key;
12
13show partitions load_dyn_part15_test;