Taier
Taier copied to clipboard
执行hivesql任务时 报错Hive table reads for this storage type are not supported
版本: 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;
执行结果:

desc formatted 信息:

后端报错信息:

hiveserver 配置如下:

通过desc formatted tableName 语句查询得到的inputformat 的类型,和我们现在判断是否是parquet存储格式存在不兼容问题,导致没有解析出该表的存储格式是parquet,所以报错。
可通过自行修改datasourcex(git地址:https://github.com/DTStack/DatasourceX)的源码,然后本地重新打包修改兼容你配置的hive集群parquet存储格式