hive添加字段后的查询异常ArrayIndexOutOfBoundsException
hive添加字段alter table ods_wsp_dw_fact_point add columns (ods_datecreated STRING COMMENT ‘ods数据创建时间’);客户端查询报错hue端查询报错Error while processing statement: FAILED: Execution Error, return code 2 from org.apac
·
hive添加字段
alter table ods_wsp_dw_fact_point add columns (ods_datecreated STRING COMMENT ‘ods数据创建时间’);
客户端查询报错
hue端查询报错
Error while processing statement: FAILED: Execution Error, return code 2 from org.apache.hadoop.hive.ql.exec.mr.MapRedTask
解决方案:
执行sql前,加上如下参数,禁用hive矢量执行:
set hive.vectorized.execution.enabled=false;
set hive.vectorized.execution.reduce.enabled=false;
set hive.vectorized.execution.reduce.groupby.enabled=false;
建议最好不要建表以后添加字段,最好删除表重新创建
更多推荐
所有评论(0)