Athena - HIVE_UNKNOWN_ERROR: java.net.URISyntaxException: Relative path in absolute URI: arn:aws:dynamodb

0

Using Glue Crawler created Catalog Table for a DynamoDB data source, and that was successful. I could see the column names correctly in the schema section of Catalog Table. With Athena trying to run a SELECT query, and it is throwing the following error:

HIVE_UNKNOWN_ERROR: java.net.URISyntaxException: Relative path in absolute URI: arn:aws:dynamodb:us-east-2:XXXXXXXXXXXXX:table/dydb_sales_data This query ran against the "catlog_dydb_sales_data" database, unless qualified by the query. Please post the error message on our forum or contact customer support with Query Id: 61011e40-b3d2-41df-af0e-bbcb70e171aa

Also, noticed that in Athena, it shows Tables (0). It is suppose to show one table, with column details. For the Catalog table for S3 data source, this issue is not there. It is only for the DynamoDB as data source. Please let me know how to resolve it.

已提問 1 年前檢視次數 875 次
1 個回答
0

That kind of table (DynamoDB) is not supported by Athena (it's only supported in Glue jobs).
Athena has it's own way of querying DynamoDB using federated queries

profile pictureAWS
專家
已回答 1 年前

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

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

回答問題指南