HIVE_UNKNOWN_ERROR when running AWS Athena query on Glue table (RDS)

可紊 提交于 2019-12-08 02:44:51

问题


I'm getting an error when running an Athena query against a Glue table created from an RDS database:

HIVE_UNKNOWN_ERROR: Unable to create input format

The tables are created using a crawler. The tables show up correctly in the Glue interface:

However, they do not show up in the Athena interface under the database. It says: "The selected database has no tables"

I do not see this behaviour when using a database created using an S3 file. Maybe this is related to the error. Does anybody have an idea?


回答1:


I had the same problem. This is the answer that I have got from AWS Support:

I understand that you set up a Glue crawler to crawl our RDS postresql database but the tables are not visible in Athena.

Athena service is designed to query tables that point to S3 as data-source. It cannot read data from non-S3 resources as of today.

So, unfortunately not possible at the moment.



来源:https://stackoverflow.com/questions/50331756/hive-unknown-error-when-running-aws-athena-query-on-glue-table-rds

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!