HIve 导入分桶表数据报错Load into bucketed tables are disabled for safety reasons. If you know what you are do

Posted 动若脱兔--

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了HIve 导入分桶表数据报错Load into bucketed tables are disabled for safety reasons. If you know what you are do相关的知识,希望对你有一定的参考价值。

hive使用分桶导入数据的时候
报错如下


Load into bucketed tables are disabled for safety reasons. If you know what you are doing, please sethive.strict.checks.bucketing to false and that hive.mapred.mode is not set to ‘strict’ to proceed. Note that if you may get errors or incorrect results if you make a mistake while using some of the unsafe features.***

解决:

**set hive.strict.checks.bucketing = false;**

以上是关于HIve 导入分桶表数据报错Load into bucketed tables are disabled for safety reasons. If you know what you are do的主要内容,如果未能解决你的问题,请参考以下文章

Hive往分桶表表中导入数据

Hive分区表与分桶表的使用具体说明

hive的建表,及分区表和分桶表的基本操作

大数据之hive:hive分桶表

Hive(10):Hive分桶表

Hive 教程-分区表与分桶表