美文网首页
【Hive error】genColumnStatsTask

【Hive error】genColumnStatsTask

作者: Eqo | 来源:发表于2024-02-29 13:35 被阅读0次

今天在使用hive3.3的时候,hive语法报错

image.png

报错场景

with tmp_1 as(select A from table_A   ),
        tmp_2 as((select B from table_B  )
insert overwrite table_C partition (dt = '2024-03-01' )
selecet  A from tmp_1
union all
selecet  B  from tmp_2

解决方法 后面加limit

with tmp_1 as(select A from table_A   ),
        tmp_2 as((select B from table_B  )
insert overwrite table_C partition (dt = '2024-03-01' )
selecet  A from tmp_1
union all
selecet  B  from tmp_2
limit 10000000

相关文章

网友评论

      本文标题:【Hive error】genColumnStatsTask

      本文链接:https://www.haomeiwen.com/subject/emlqzdtx.html