Yes, You need to mention the below commands everytime you do partitioning:
set hive.exec.dynamic.partition.mode=nonstrict;
set hive.exec.dynamic.partition=true;
In case you need to do bucketing then you need to write this:
set hive.enforce.bucketing=true;
Else there is no need for this.