I would like to know one thing in hive dynamic partition. While doing dynamic partitions we have to set following properties
SET hive.exec.dynamic.partition = true;
SET hive.exec.dynamic.partition.mode = nonstrict;
Without those properties we can't do a dynamic partition.
I want to know why these are required? Can someone tell me why we need to set this properties.
It was done as additional protection measure against partitions being unintentionally overwritten.
Docs says: