Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2024 08:24 AM
Hi @Henrik
To grant a user the privilege to query system tables, a metastore admin or another privileged user must grant USE and SELECT permissions on the system schemas.
GRANT USAGE ON CATALOG system TO <user_name>;
GRANT USAGE ON SCHEMA information_schema TO <user_name>;
GRANT SELECT ON TABLE <table_name> TO <user_name>;
Include <user_name> in backticks ``
Please note that these commands should be executed by a metastore admin or another privileged user.
Let me know if it helps,
Best,
Alessandro