updated oracle permissions (#11024)

This commit is contained in:
Onkar Ravgan 2023-04-13 14:22:58 +05:30 committed by GitHub
parent 42dff694c2
commit d4f9f0f875
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 23 additions and 3 deletions

View File

@ -40,7 +40,8 @@ custom Airflow plugins to handle the workflow deployment.
Note: To fetch metadata from oracle db we use python-oracledb and this support 12c, 18c, 19c and 21c versions! Note: To fetch metadata from oracle db we use python-oracledb and this support 12c, 18c, 19c and 21c versions!
To ingest metadata from oracle user must have `CREATE SESSION` privilege for the user. To ingest metadata from oracle user must have following permissions:
1. `CREATE SESSION` privilege for the user.
```sql ```sql
@ -58,6 +59,12 @@ GRANT CREATE SESSION TO new_role;
``` ```
2. `GRANT SELECT` on the relevant tables which are to be ingested into OpenMetadata to the user
```sql
GRANT SELECT ON table_name TO {user | role};
```
### Python Requirements ### Python Requirements

View File

@ -39,7 +39,8 @@ custom Airflow plugins to handle the workflow deployment.
Note: To fetch metadata from oracle db we use python-oracledb and this support 12c, 18c, 19c and 21c versions! Note: To fetch metadata from oracle db we use python-oracledb and this support 12c, 18c, 19c and 21c versions!
To ingest metadata from oracle user must have `CREATE SESSION` privilege for the user. To ingest metadata from oracle user must have following permissions:
1. `CREATE SESSION` privilege for the user.
```sql ```sql
@ -57,6 +58,12 @@ GRANT CREATE SESSION TO new_role;
``` ```
2. `GRANT SELECT` on the relevant tables which are to be ingested into OpenMetadata to the user
```sql
GRANT SELECT ON table_name TO {user | role};
```
### Python Requirements ### Python Requirements

View File

@ -60,7 +60,8 @@ custom Airflow plugins to handle the workflow deployment.
Note: To fetch metadata from oracle db we use python-oracledb and this support 12c, 18c, 19c and 21c versions! Note: To fetch metadata from oracle db we use python-oracledb and this support 12c, 18c, 19c and 21c versions!
To ingest metadata from oracle user must have `CREATE SESSION` privilege for the user. To ingest metadata from oracle user must have following permissions:
1. `CREATE SESSION` privilege for the user.
```sql ```sql
@ -78,7 +79,12 @@ GRANT CREATE SESSION TO new_role;
``` ```
2. `GRANT SELECT` on the relevant tables which are to be ingested into OpenMetadata to the user
```sql
GRANT SELECT ON table_name TO {user | role};
```
## Metadata Ingestion ## Metadata Ingestion