查询配置单元时出现 Presto 错误 table
Presto error while querying hive table
- 在 Hive returns 中查询
select * from table_name limit 10;
正确的数据。但是通过 presto 连接 returns 查询相同的 table 错误如下:
Presto query has failed. cannot find field from
[0:error_error_error_error_error_error_error,
1:cannot_determine_schema, 2:check, 3:schema, 4:url, 5:and, 6:literal]
- 在 Hive returns 中查询
select count(*) from table_name;
正确的数据。但是通过 presto 连接 returns 查询相同的 table 错误如下:
Presto query has failed. HIVE_CURSOR_ERROR
我已经通过更正 avro 架构解决了这个问题。
- 在 Hive returns 中查询
select * from table_name limit 10;
正确的数据。但是通过 presto 连接 returns 查询相同的 table 错误如下:
Presto query has failed. cannot find field from [0:error_error_error_error_error_error_error, 1:cannot_determine_schema, 2:check, 3:schema, 4:url, 5:and, 6:literal]
- 在 Hive returns 中查询
select count(*) from table_name;
正确的数据。但是通过 presto 连接 returns 查询相同的 table 错误如下:
Presto query has failed. HIVE_CURSOR_ERROR
我已经通过更正 avro 架构解决了这个问题。