Skip to content

Commit fa18a7b

Browse files
authored
Update redshift-setup.md
1 parent f433854 commit fa18a7b

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/unify/data-graph/setup-guides/redshift-setup.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -112,13 +112,11 @@ To connect your warehouse to Segment:
112112
5. Test your connection, then click **Save**.
113113

114114
## Update user access for Segment Reverse ETL dataset
115-
If Segment Reverse ETL ran in the project you are configuring as the Segment connection project, a Segment-managed dataset is already created, and you need to provide the new Segment user access to the existing dataset. Run the following SQL if you run into an error on the Segment app indicating that the user doesn’t have sufficient privileges on an existing `__segment_reverse_etl`.
116-
117-
Run the following command:
115+
If Segment Reverse ETL ran in the project you are configuring as the Segment connection project, a Segment-managed dataset is already created, and you need to provide the new Segment user access to the existing dataset. Run the following SQL if you run into an error on the Segment app indicating that the user doesn’t have sufficient privileges on an existing `__segment_reverse_etl`:
118116

119117
```sql
120118
-- If you want to use an existing database that already has Segment Reverse ETL schemas, you’ll need to run some additional steps below to grant the role access to the existing schemas.
121119

122120
GRANT USAGE, CREATE, DROP ON SCHEMA segment_connection_db.__segment_reverse_etl TO ROLE SEGMENT_LINKED_ROLE;
123121
GRANT SELECT,INSERT,UPDATE,DELETE,DROP ON ALL TABLES IN SCHEMA segment_connection_db.__segment_reverse_etl TO ROLE SEGMENT_LINKED_ROLE;
124-
```
122+
```

0 commit comments

Comments
 (0)