Update profiler permissions (#10004)

This commit is contained in:
Pere Miquel Brull 2023-01-30 14:20:19 +01:00 committed by GitHub
parent e152e734c2
commit c7c3d62bae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 33 additions and 0 deletions

View File

@ -42,6 +42,8 @@ ALTER SCHEMA s1 DEFAULT INCLUDE PRIVILEGES;
ALTER SCHEMA "<db>.public" DEFAULT INCLUDE PRIVILEGES; ALTER SCHEMA "<db>.public" DEFAULT INCLUDE PRIVILEGES;
``` ```
#### Lineage and Usage
If you also want to run the Lineage and Usage workflows, then the user needs to be granted permissions to the If you also want to run the Lineage and Usage workflows, then the user needs to be granted permissions to the
`V_MONITOR` schema: `V_MONITOR` schema:
@ -57,6 +59,15 @@ GRANT SYSMONITOR TO openmetadata;
ALTER USER openmetadata DEFAULT ROLE SYSMONITOR; ALTER USER openmetadata DEFAULT ROLE SYSMONITOR;
``` ```
#### Profiler
To run the profiler, it's not enough to have `USAGE` permissions to the schema as we need to `SELECT` the tables
in there. Therefore, you'll need to grant `SELECT` on all tables for the schemas:
```sql
GRANT SELECT ON ALL TABLES IN SCHEMA <schema> TO openmetadata;
```
### Python Requirements ### Python Requirements
To run the Vertica ingestion, you will need to install: To run the Vertica ingestion, you will need to install:

View File

@ -42,6 +42,8 @@ ALTER SCHEMA s1 DEFAULT INCLUDE PRIVILEGES;
ALTER SCHEMA "<db>.public" DEFAULT INCLUDE PRIVILEGES; ALTER SCHEMA "<db>.public" DEFAULT INCLUDE PRIVILEGES;
``` ```
#### Lineage and Usage
If you also want to run the Lineage and Usage workflows, then the user needs to be granted permissions to the If you also want to run the Lineage and Usage workflows, then the user needs to be granted permissions to the
`V_MONITOR` schema: `V_MONITOR` schema:
@ -57,6 +59,15 @@ GRANT SYSMONITOR TO openmetadata;
ALTER USER openmetadata DEFAULT ROLE SYSMONITOR; ALTER USER openmetadata DEFAULT ROLE SYSMONITOR;
``` ```
#### Profiler
To run the profiler, it's not enough to have `USAGE` permissions to the schema as we need to `SELECT` the tables
in there. Therefore, you'll need to grant `SELECT` on all tables for the schemas:
```sql
GRANT SELECT ON ALL TABLES IN SCHEMA <schema> TO openmetadata;
```
### Python Requirements ### Python Requirements
To run the Vertica ingestion, you will need to install: To run the Vertica ingestion, you will need to install:

View File

@ -63,6 +63,8 @@ ALTER SCHEMA s1 DEFAULT INCLUDE PRIVILEGES;
ALTER SCHEMA "<db>.public" DEFAULT INCLUDE PRIVILEGES; ALTER SCHEMA "<db>.public" DEFAULT INCLUDE PRIVILEGES;
``` ```
#### Lineage and Usage
If you also want to run the Lineage and Usage workflows, then the user needs to be granted permissions to the If you also want to run the Lineage and Usage workflows, then the user needs to be granted permissions to the
`V_MONITOR` schema: `V_MONITOR` schema:
@ -78,6 +80,15 @@ GRANT SYSMONITOR TO openmetadata;
ALTER USER openmetadata DEFAULT ROLE SYSMONITOR; ALTER USER openmetadata DEFAULT ROLE SYSMONITOR;
``` ```
#### Profiler
To run the profiler, it's not enough to have `USAGE` permissions to the schema as we need to `SELECT` the tables
in there. Therefore, you'll need to grant `SELECT` on all tables for the schemas:
```sql
GRANT SELECT ON ALL TABLES IN SCHEMA <schema> TO openmetadata;
```
## Metadata Ingestion ## Metadata Ingestion
### 1. Visit the Services Page ### 1. Visit the Services Page