FAILED: SemanticException [Error 10096]: Dynamic partition strict mode requires at least one static partition column. To turn this off set hive.exec.dynamic.partition.mode=nonstrict
FAILED: SemanticException [Error 10096]:动态分区严格模式需要至少一个静态分区列。要关闭此选项,请设置hive.exec.dynamic.partition.mode=非严格模式
将hive.exec.dynamic.partition.mode设置成nonstrict。
hive (default)> set hive.exec.dynamic.partition.mode;
hive.exec.dynamic.partition.mode=strict
hive (default)> set hive.exec.dynamic.partition.mode=nonstrict;
hive (default)> set hive.exec.dynamic.partition.mode;
hive.exec.dynamic.partition.mode=nonstrict