TYPE_NOT_FOUND: Unknown type: row error in Athena querying a DocDB data source

0

I setup a Document DB Data Source in Athena using a pre-defined Lambda function as per https://docs.aws.amazon.com/athena/latest/ug/connectors-docdb.html.

Athena can see the data source and collections within the DocDB database, but when I try to query anything with a

SELECT * FROM <docdb_database>.<collection>

I get the following error:

TYPE_NOT_FOUND: Unknown type: row

已提問 1 年前檢視次數 375 次
2 個答案
0

I believe you need to specify the lambda function name which is created when installing the connector. Something like this SELECT * FROM "lambda:<lambda name>".<docdb_database>.<collection> ; See also the Amazon DocumentDB lab about how to create and query using the connector.

AWS
Mihai A
已回答 10 個月前
0

This does not solve the problem, do you know another solution?

Andrew
已回答 1 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南