在presto客户端中运行sql select * from hive.information_schema.columns;
时。我收到错误信息:
查询20170208_085534_00061_ny9tu失败:不应从null StorageFormat访问outputFormat
但是,当从select * from hive.information_schema.tables;
有人可以帮忙吗?
感谢。
答案 0 :(得分:1)
这是由具有我们不期望的元数据的表引起的错误。
我扫描hive中的所有表并找到一些表'InputFormat / OutputFormat为null。如果我DESCRIBE TABLENAME
对于那些在presto中具有null InputFormat / OutputFormat的表,它将获得相同的错误信息。