/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
- set hive.exec.dynamic.partition=true;
- set hive.exec.dynamic.partition.mode=nonstrict;
- create table if not exists load_dyn_part15_test (key string)
- partitioned by (part_key string);
- show partitions load_dyn_part15_test;
- INSERT OVERWRITE TABLE load_dyn_part15_test PARTITION(part_key)
- SELECT key, part_key FROM src LATERAL VIEW explode(array("1","{2","3]")) myTable AS part_key;
- show partitions load_dyn_part15_test;