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

posta un anno fa375 visualizzazioni
2 Risposte
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
con risposta 10 mesi fa
0

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

Andrew
con risposta un mese fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande