赞
踩
由于hive处于严格模式使用动态分区时会报错
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
使用shell脚本时报错
解决方法1:hive/conf/hive-site.xml添加参数
- <!--非严格模式-->
- <property>
- <name>hive.exec.dynamic.partition.mode</name>
- <value>nonstrict</value>
- </property>
- </configuration>
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。