diff --git a/docs/quick-ingestion-guides/snowflake/setup.md b/docs/quick-ingestion-guides/snowflake/setup.md index af5f15492376b..aaa9c67014814 100644 --- a/docs/quick-ingestion-guides/snowflake/setup.md +++ b/docs/quick-ingestion-guides/snowflake/setup.md @@ -43,6 +43,8 @@ In order to configure ingestion from Snowflake, you'll first have to ensure you grant select on future external tables in database identifier($db_var) to role datahub_role; grant select on all views in database identifier($db_var) to role datahub_role; grant select on future views in database identifier($db_var) to role datahub_role; + grant select on all dynamic tables in database identifier($db_var) to role datahub_role; + grant select on future dynamic tables in database identifier($db_var) to role datahub_role; -- Grant access to view tables and views grant references on all tables in database identifier($db_var) to role datahub_role; @@ -51,6 +53,9 @@ In order to configure ingestion from Snowflake, you'll first have to ensure you grant references on future external tables in database identifier($db_var) to role datahub_role; grant references on all views in database identifier($db_var) to role datahub_role; grant references on future views in database identifier($db_var) to role datahub_role; + -- Grant access to dynamic tables + grant monitor on all dynamic tables in database identifier($db_var) to role datahub_role; + grant monitor on future dynamic tables in database identifier($db_var) to role datahub_role; -- Assign privileges to extract lineage and usage statistics from Snowflake by executing the below query. grant imported privileges on database snowflake to role datahub_role; diff --git a/metadata-ingestion/docs/sources/snowflake/snowflake_pre.md b/metadata-ingestion/docs/sources/snowflake/snowflake_pre.md index 75bd579417a48..4cfbc470e8c23 100644 --- a/metadata-ingestion/docs/sources/snowflake/snowflake_pre.md +++ b/metadata-ingestion/docs/sources/snowflake/snowflake_pre.md @@ -23,12 +23,16 @@ grant references on all external tables in database "" to role da grant references on future external tables in database "" to role datahub_role; grant references on all views in database "" to role datahub_role; grant references on future views in database "" to role datahub_role; +grant monitor on all dynamic tables in database "" to role datahub_role; +grant monitor on future dynamic tables in database "" to role datahub_role; // If you ARE using Snowflake Profiling or Classification feature: Grant select privileges to your tables grant select on all tables in database "" to role datahub_role; grant select on future tables in database "" to role datahub_role; grant select on all external tables in database "" to role datahub_role; grant select on future external tables in database "" to role datahub_role; +grant select on all dynamic tables in database "" to role datahub_role; +grant select on future dynamic tables in database "" to role datahub_role; // Create a new DataHub user and assign the DataHub role to it create user datahub_user display_name = 'DataHub' password='' default_role = datahub_role default_warehouse = '';