Hive2.3.6升级至Hive3.1.3踩坑

在从Hive2.3.6升级到Hive3.1.3的过程中,遇到了coalesce报错、MR任务失败、关键字冲突、from_unixtime时区改变等问题。针对这些问题,解决方案包括关闭严格类型检查、禁用向量化执行、字段名加反引号避免关键字冲突、修改时区设置以及更新mapred-site.xml配置。上线前的数仓检查及时发现并解决了这些潜在问题。
摘要由CSDN通过智能技术生成

1、coalesce报错

FAILED: SemanticException [Error 10014]: Line 197:4 Wrong arguments ''10'': Unsafe compares
      BETWEEN different types are disabled for safety reasons. If you know what you are doing,
             please SET hive.strict.checks.type.safety to false
            AND make sure that hive.mapred.mode is NOT SET to 'strict' to proceed. Note that you may get errors
             OR incorrect results if you make a mistake while
USING some of the unsafe features.
  • 0
    点赞
  • 8
    收藏
    觉得还不错? 一键收藏
  • 3
    评论
评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值