Skip to content

Commit

Permalink
Add Dan Lu
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasyu888 committed Oct 19, 2023
1 parent e7cff23 commit 49b6a63
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions admin/synapse_setup.sql
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ GRANT SELECT ON TABLE synapse_data_warehouse.synapse.userprofile_latest
TO ROLE PUBLIC;

GRANT SELECT ON ALL TABLES IN SCHEMA synapse_data_warehouse.synapse TO ROLE PUBLIC;
GRANT SELECT ON ALL VIEWS IN SCHEMA synapse_data_warehouse.synapse TO ROLE PUBLIC;

-- TODO: Add these back in after governance
-- GRANT SELECT ON FUTURE TABLES IN SCHEMA synapse_data_warehouse.synapse
-- TO ROLE PUBLIC;
1 change: 1 addition & 0 deletions admin/users.sql
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,4 @@ CREATE USER IF NOT EXISTS "[email protected]";
CREATE USER IF NOT EXISTS "[email protected]";
CREATE USER IF NOT EXISTS "[email protected] ";
CREATE USER IF NOT EXISTS "[email protected]";
CREATE USER IF NOT EXISTS "[email protected]";
2 changes: 1 addition & 1 deletion elt/synapse_gold.sql
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ CREATE TABLE IF NOT EXISTS SYNAPSE_DATA_WAREHOUSE.SYNAPSE.CERTIFIED_QUESTION_INF
);

-- Create View of user profile and cert join
CREATE VIEW IF NOT EXISTS SYNAPSE_DATA_WAREHOUSE.SYNAPSE.USER_CERTIFIED AS
CREATE OR REPLACE VIEW SYNAPSE_DATA_WAREHOUSE.SYNAPSE.USER_CERTIFIED AS
WITH USER_CERT_JOINED AS (
SELECT *
FROM SYNAPSE_DATA_WAREHOUSE.SYNAPSE.USERPROFILE_LATEST USER
Expand Down

0 comments on commit 49b6a63

Please sign in to comment.