Docs - Add snowflake permissions (#7202)

* Add snowflake permissions docs

* Add docs ref
This commit is contained in:
Pere Miquel Brull 2022-09-05 18:50:51 +02:00 committed by GitHub
parent e08bd1b1d2
commit 4f73739b0b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 18 additions and 6 deletions

View File

@ -39,9 +39,13 @@ pip3 install "openmetadata-ingestion[snowflake-usage]"
<Note>
While running the usage workflow, OpenMetadata fetches the query logs by querying `snowflake.account_usage.query_history` table.
- While running the usage workflow, Openmetadata fetches the query logs by querying `snowflake.account_usage.query_history` table.
For this the snowflake user should be granted the `ACCOUNTADMIN` role (or a role granted IMPORTED PRIVILEGES on the database).
- If ingesting tags, the user should also have permissions to query `snowflake.account_usage.tag_references`.
For this the snowflake user should be granted the `ACCOUNTADMIN` role (or a role granted IMPORTED PRIVILEGES on the database)
- If during the ingestion you want to set the session tags, note that the user should have `ALTER SESSION` permissions.
For this the snowflake user should be granted the `ACCOUNTADMIN` role (or a role granted IMPORTED PRIVILEGES on the database)
You can find more information about the Account Usage [here](https://docs.snowflake.com/en/sql-reference/account-usage.html).
</Note>

View File

@ -39,9 +39,13 @@ pip3 install "openmetadata-ingestion[snowflake-usage]"
<Note>
While running the usage workflow, OpenMetadata fetches the query logs by querying `snowflake.account_usage.query_history` table.
- While running the usage workflow, Openmetadata fetches the query logs by querying `snowflake.account_usage.query_history` table.
For this the snowflake user should be granted the `ACCOUNTADMIN` role (or a role granted IMPORTED PRIVILEGES on the database).
- If ingesting tags, the user should also have permissions to query `snowflake.account_usage.tag_references`.
For this the snowflake user should be granted the `ACCOUNTADMIN` role (or a role granted IMPORTED PRIVILEGES on the database)
- If during the ingestion you want to set the session tags, note that the user should have `ALTER SESSION` permissions.
For this the snowflake user should be granted the `ACCOUNTADMIN` role (or a role granted IMPORTED PRIVILEGES on the database)
You can find more information about the Account Usage [here](https://docs.snowflake.com/en/sql-reference/account-usage.html).
</Note>

View File

@ -45,9 +45,13 @@ custom Airflow plugins to handle the workflow deployment.
<Note>
While running the usage workflow, Openmetadata fetches the query logs by querying `snowflake.account_usage.query_history` table.
- While running the usage workflow, Openmetadata fetches the query logs by querying `snowflake.account_usage.query_history` table.
For this the snowflake user should be granted the `ACCOUNTADMIN` role (or a role granted IMPORTED PRIVILEGES on the database).
- If ingesting tags, the user should also have permissions to query `snowflake.account_usage.tag_references`.
For this the snowflake user should be granted the `ACCOUNTADMIN` role (or a role granted IMPORTED PRIVILEGES on the database)
- If during the ingestion you want to set the session tags, note that the user should have `ALTER SESSION` permissions.
For this the snowflake user should be granted the `ACCOUNTADMIN` role (or a role granted IMPORTED PRIVILEGES on the database)
You can find more information about the Account Usage [here](https://docs.snowflake.com/en/sql-reference/account-usage.html).
</Note>