在hive中查询导入数据表时FAILED: SemanticException [Error 10096]: Dynamic partition strict mode requires at lea
Posted zmoumou
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了在hive中查询导入数据表时FAILED: SemanticException [Error 10096]: Dynamic partition strict mode requires at lea相关的知识,希望对你有一定的参考价值。
当我们出现这种情况时
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
这时候我们需要改变一下设置
set hive.exec.dynamici.partition=true;
set hive.exec.dynamic.partition.mode=nonstrict;
set hive.exec.mode.local.auto=true;
SET hive.exec.max.dynamic.partitions=100000;
SET hive.exec.max.dynamic.partitions.pernode=100000;
set hive.exec.max.created.files=100000;
在hive中添加一下配置
重新运行就可以成功了
以上是关于在hive中查询导入数据表时FAILED: SemanticException [Error 10096]: Dynamic partition strict mode requires at lea的主要内容,如果未能解决你的问题,请参考以下文章
Hive插入数据拒绝连接:ERROR exec.Task: Job Submission failed ... From master/192.168.70.128 to master:8032(代码