Last active
January 3, 2023 21:20
-
-
Save garystafford/3277c7e6789f2bd52802540bdf2de295 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- switch redshift database connection to new demo database before continuing! | |
-- create external tables schema and new glue data catalog | |
create external schema tickit_external | |
from data catalog | |
database 'tickit_dbt' | |
iam_role 'arn:aws:iam::<your_aws_acccount_id>:role/ClusterPermissionsRole' | |
create external database if not exists; | |
create schema tickit_dbt; | |
drop schema public; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment