blob: eab88cc0d8b6892f7d2560532cd5e65dc5dc4c2c [file] [log] [blame]
--! qt:dataset:src
set hive.exec.dynamic.partition=true;
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;