Lake Formation授予视图权限出现错误。

0

【以下的问题经过翻译处理】 我给一个IAM用户授予了对表和视图的查看权限。 使用授予的权限,我可以访问表,但无法访问视图。

这是我的Lake Formation配置。 Enter image description here

当我尝试访问视图时,出现了以下错误。

Insufficient permissions to execute the query. line 1:15: Failed analyzing stored view 'awsdatacatalog.permission-test-db-03.s3_summary_view': Insufficient Lake Formation permission(s) on hyperbilling_data_clientname

该视图基于表创建,似乎无法访问表本身。 请指导我如何解决这个问题。

profile picture
专家
已提问 5 个月前37 查看次数
1 回答
0

【以下的回答经过翻译处理】 根据捕获到的信息,似乎在你的视图的基础查询中缺少权限。 你的视图可能引用了多个表。 视图以视图的所有者身份运行,并且是一种让具有更多权限的用户授予具有较少权限的用户有限访问权限的方法。这意味着视图内部的查询使用拥有视图的用户的权限进行分析。如果视图没有所有者,则我们会验证访问视图的用户是否具有访问数据的权限。

无论如何,视图的所有者都需要具有所有视图中表的SELECT和GRANT权限。 请检查所用到的视图的权限配置 https://docs.aws.amazon.com/lake-formation/latest/dg/tut-grant-select.html

profile picture
专家
已回答 5 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则