Skip to content

Commit a30ccea

Browse files
committed
Update Redshift
1 parent e385a71 commit a30ccea

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

src/unify/linked-profiles/setup-guides/redshift-setup.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@ GRANT ROLE segment_entities TO segment_entities_user;
3232

3333
## Grant access to schemas and tables
3434

35-
You'll need to grant access to schemas and tables that you'd like to enrich with. This allows Segment to list schemas, tables, and columns, as well as create entities with data extracted and ingested to Segment
35+
You'll need to grant access to schemas and tables that you'd like to enrich with. This allows Segment to list schemas, tables, and columns, as well as create entities with data extracted and ingested to Segment.
3636

3737
### Schemas
3838

39-
Grant schema permissions based on customer need. View Amazon's docs for more on [schema permissions](https://docs.aws.amazon.com/redshift/latest/dg/r_GRANT.html){:target="_blank"} and to view some [example commands](https://docs.aws.amazon.com/redshift/latest/dg/r_GRANT-examples.html){:target="_blank"} that you can use to grant permissions.
39+
Grant schema permissions based on customer need. Visit Amazon's docs for more on [schema permissions](https://docs.aws.amazon.com/redshift/latest/dg/r_GRANT.html){:target="_blank"} and to view [example commands](https://docs.aws.amazon.com/redshift/latest/dg/r_GRANT-examples.html){:target="_blank"} that you can use to grant permissions.
4040

4141
```sql
4242
-- view specific schemas in database
@@ -45,19 +45,21 @@ GRANT USAGE ON SCHEMA <schema-name> TO ROLE segment_entities;
4545

4646
### Tables
4747

48-
Grant table permissions based on customer need. View descriptions of table permissions in [Amazon's docs](https://docs.aws.amazon.com/redshift/latest/dg/r_GRANT.html){:target="_blank"}.
48+
Grant table permissions based on customer need. View descriptions of [table permissions](https://docs.aws.amazon.com/redshift/latest/dg/r_GRANT.html){:target="_blank"} from Amazon.
4949

5050
```sql
5151
-- query data from a specific table in a schema
5252
GRANT SELECT ON TABLE <schema-name>.<table-name> TO ROLE segment_entities;
5353
```
5454

55-
## Grant access to Reverse ETL
55+
### RETL table permissions
5656

57-
Run the SQL commands below if RETL has ever run in your database and you add a new user.
57+
If you've used RETL in your database, and added a new user, you'll need to add the following table permissions:
5858

5959
```sql
6060
GRANT USAGE, CREATE ON SCHEMA __segment_reverse_etl TO ROLE segment_entities;
6161

6262
GRANT SELECT, INSERT, UPDATE, DELETE ON ALL TABLES IN SCHEMA __segment_reverse_etl TO ROLE segment_entities;
6363
```
64+
65+
Learn more about Redshift's [table permissions](https://docs.aws.amazon.com/redshift/latest/dg/r_GRANT.html){:target="_blank"}.

0 commit comments

Comments
 (0)