如何将所有角色授予Trino/Presto的用户?
基本上,在Trino/Presto中相当于Hive查询的等效物。
show role grant user <username>;
basically what is the equivalent of hive query in trino/presto.
show role grant user <username>;
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我们可以从
Information_schema
获得信息,这是自我解释的,但是我找不到有关此系统定义的模式的文档。一个更有用的查询是检查用户是否可以访问表
we can get the information from
information_schema
it is self explanatory but i cannot find document about this system defined schema.a more useful query is check whether a user has access to a table