From 79ef941520bdb585fb7a72cb3bac3ed2be627fc1 Mon Sep 17 00:00:00 2001 From: lior-statsig <133702265+lior-statsig@users.noreply.github.com> Date: Fri, 13 Dec 2024 15:35:35 -0800 Subject: [PATCH] Update snowflake.md (#2416) --- .../connecting-your-warehouse/snowflake.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/statsig-warehouse-native/connecting-your-warehouse/snowflake.md b/docs/statsig-warehouse-native/connecting-your-warehouse/snowflake.md index 5edd07daf..acd09d20f 100644 --- a/docs/statsig-warehouse-native/connecting-your-warehouse/snowflake.md +++ b/docs/statsig-warehouse-native/connecting-your-warehouse/snowflake.md @@ -104,7 +104,7 @@ BEGIN; GRANT CREATE SCHEMA, MONITOR, USAGE ON DATABASE STATSIG_STAGING TO ROLE identifier($role_name); -- ONLY GIVE THIS LEVEL OF ACCESS in the staging schema. - GRANT CREATE TABLE ON SCHEMA STATSIG_STAGING.STATSIG_TABLES TO ROLE identifier($role_name); + GRANT CREATE TABLE, CREATE FUNCTION ON SCHEMA STATSIG_STAGING.STATSIG_TABLES TO ROLE identifier($role_name); GRANT SELECT, UPDATE, INSERT, DELETE ON ALL TABLES IN SCHEMA STATSIG_STAGING.STATSIG_TABLES TO ROLE identifier($role_name); GRANT SELECT, UPDATE, INSERT, DELETE ON FUTURE TABLES IN SCHEMA STATSIG_STAGING.STATSIG_TABLES TO ROLE identifier($role_name); GRANT OWNERSHIP ON FUTURE TABLES IN SCHEMA STATSIG_STAGING.STATSIG_TABLES TO ROLE identifier($role_name);