关注微信公共号:小程在线
关注CSDN博客:程志伟的博客
hive版本:2.1.1 tez版本:0.9.2
运行hive程序报错:
FAILED: SemanticException 81:5 Schema of both sides of union should match:
解决方法:
1. 检查union all上下SQL的字段是否一样多;
2. 检查union all上下字段的类型是否一致。
还需要根据错误的日志提示针对实际错误解决。
微信扫一扫
关注微信公共号:小程在线
hive版本:2.1.1 tez版本:0.9.2
运行hive程序报错:
FAILED: SemanticException 81:5 Schema of both sides of union should match:
解决方法:
1. 检查union all上下SQL的字段是否一样多;
2. 检查union all上下字段的类型是否一致。
还需要根据错误的日志提示针对实际错误解决。
相关推荐