查询蜂巢表时的Presto错误


  1. 在Hive中查询select * from table_name limit 10;返回正确的数据。但是通过Presto连接查询同一表

Presto查询失败了。无法从中找到字段 [0:ERROR_ERROR_ERROR_ERROR_ERROR_ERROR_ERROR, 1:coss_determine_schema,2:检查,3:架构,4:url,5:and,6:fliteral]

  1. 在Hive中查询select count(*) from table_name;返回正确的数据。但是通过Presto连接查询同一表

Presto查询失败了。hive_cursor_error

我已经通过了此link1和link2,但没有帮助我。

我通过纠正Avro架构解决了此问题。

最新更新