Skip to content

Commit d2d9731

Browse files
authored
Merge pull request #7165 from segmentio/kly-segment-patch-1
Update Databricks Setup
2 parents 6154f28 + cbd8048 commit d2d9731

File tree

1 file changed

+1
-16
lines changed

1 file changed

+1
-16
lines changed

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

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,7 @@ Run the following SQL to grant your Service Principal user read-only access to a
6767
GRANT USAGE, SELECT, USE SCHEMA ON CATALOG `${catalog}` TO `${client_id}`;
6868
```
6969

70-
## (Optional) Step 5: Restrict read-only access
71-
72-
### Restrict read-only access to schemas
70+
## (Optional) Step 5: Restrict read-only access to schemas
7371

7472
Restrict access to specific schemas by running the following SQL:
7573

@@ -79,19 +77,6 @@ USE CATALOG `${catalog}`;
7977
GRANT USAGE, SELECT ON SCHEMA `${schema_1}` TO `${client_id}`;
8078
GRANT USAGE, SELECT ON SCHEMA `${schema_2}` TO `${client_id}`;
8179
...
82-
```
83-
### Restrict read-only access to tables
84-
Restrict access to specific tables by running the following SQL:
85-
86-
```sql
87-
GRANT USAGE ON CATALOG `${catalog}` TO `${client_id}`;
88-
USE CATALOG `${catalog}`;
89-
GRANT USAGE ON SCHEMA `${schema_1}` TO `${client_id}`;
90-
USE SCHEMA `${schema_1}`;
91-
GRANT SELECT ON TABLE `${table_1}` TO `${client_id}`;
92-
GRANT SELECT ON TABLE `${table_2}` TO `${client_id}`;
93-
...
94-
9580
```
9681

9782
## Step 6: Validate the permissions of your Service Principal user

0 commit comments

Comments
 (0)