Taier icon indicating copy to clipboard operation
Taier copied to clipboard

执行hivesql任务时 报错Hive table reads for this storage type are not supported

Open gaoasi opened this issue 3 years ago • 2 comments

版本: taier : 1.1.0 hive: 3.1.0 spark: 2.4

问题: 绑定好集群租户后,在任务开发栏创建hivesql任务,并执行sql: desc formatted yichang_poi.ods_amap_pois; select * from yichang_poi.ods_amap_pois limit 10; 执行结果: image

desc formatted 信息: image image image

后端报错信息: image image

gaoasi avatar May 31 '22 09:05 gaoasi

hiveserver 配置如下: image

gaoasi avatar May 31 '22 09:05 gaoasi

image 通过desc formatted tableName 语句查询得到的inputformat 的类型,和我们现在判断是否是parquet存储格式存在不兼容问题,导致没有解析出该表的存储格式是parquet,所以报错。

可通过自行修改datasourcex(git地址:https://github.com/DTStack/DatasourceX)的源码,然后本地重新打包修改兼容你配置的hive集群parquet存储格式

QAQ-Jun avatar Aug 03 '22 11:08 QAQ-Jun