External table with delta does not return any rows in Athena

0

Hi there,

I followed this blog post,

https://aws.amazon.com/about-aws/whats-new/2022/12/athena-enhances-read-support-delta-lake-table-format/#:~:text=You%20can%20now%20query%20Delta,commonly%20built%20on%20Amazon%20S3. https://aws.amazon.com/blogs/big-data/crawl-delta-lake-tables-using-aws-glue-crawlers/

I created a delta table with emr spark, then I created a external table with Athenas and I also tried creating it with Native and Simlink Crawler, but I cant get any rows when I do a Select query in Athenas, but it works ok in EMR,

I need to query with Athenas for sharing this tables with my users,

Do you know what could it be?

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

I switched to Athena version 3 as the documentation recommends, but now It shows another error, "NOT_SUPPORTED: Lake Formation tables are not supported for Delta Lake" And the docs says: "AWS Glue crawler integration with Delta Lake also supports AWS Lake Formation access control. You can grant Lake Formation permissions on the Delta tables created by the crawler to AWS principals that then query through Athena and Redshift Spectrum to access data in Delta tables."

But I with Athena version 2 does not returns data and with version 3 returns the not supported error,

marcel
已回答 1 年前

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

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

回答問題指南