From 6b4e500fa6de0645da583d884630ba025937c1ec Mon Sep 17 00:00:00 2001 From: Mayur Singal <39544459+ulixius9@users.noreply.github.com> Date: Wed, 25 Jan 2023 14:08:48 +0530 Subject: [PATCH] Update Redshift Requirement Docs (#9902) --- .../content/connectors/database/redshift/airflow.md | 7 +++++++ .../content/connectors/database/redshift/cli.md | 7 +++++++ .../content/connectors/database/redshift/index.md | 7 +++++++ 3 files changed, 21 insertions(+) diff --git a/openmetadata-docs/content/connectors/database/redshift/airflow.md b/openmetadata-docs/content/connectors/database/redshift/airflow.md index 4cc2e5399d6..7f4a48cc455 100644 --- a/openmetadata-docs/content/connectors/database/redshift/airflow.md +++ b/openmetadata-docs/content/connectors/database/redshift/airflow.md @@ -25,6 +25,13 @@ custom Airflow plugins to handle the workflow deployment. Redshift user must grant `SELECT` privilege on table [SVV_TABLE_INFO](https://docs.aws.amazon.com/redshift/latest/dg/r_SVV_TABLE_INFO.html) to fetch the metadata of tables and views. For more information visit [here](https://docs.aws.amazon.com/redshift/latest/dg/c_visibility-of-data.html). +```sql + +CREATE USER test_user with PASSWORD 'password'; +GRANT SELECT ON TABLE svv_table_info to test_user; + +``` + ### Python Requirements To run the Redshift ingestion, you will need to install: diff --git a/openmetadata-docs/content/connectors/database/redshift/cli.md b/openmetadata-docs/content/connectors/database/redshift/cli.md index 6fc5ab5a75f..833cd3a08d5 100644 --- a/openmetadata-docs/content/connectors/database/redshift/cli.md +++ b/openmetadata-docs/content/connectors/database/redshift/cli.md @@ -25,6 +25,13 @@ custom Airflow plugins to handle the workflow deployment. Redshift user must grant `SELECT` privilege on table [SVV_TABLE_INFO](https://docs.aws.amazon.com/redshift/latest/dg/r_SVV_TABLE_INFO.html) to fetch the metadata of tables and views. For more information visit [here](https://docs.aws.amazon.com/redshift/latest/dg/c_visibility-of-data.html). +```sql + +CREATE USER test_user with PASSWORD 'password'; +GRANT SELECT ON TABLE svv_table_info to test_user; + +``` + ### Python Requirements To run the Redshift ingestion, you will need to install: diff --git a/openmetadata-docs/content/connectors/database/redshift/index.md b/openmetadata-docs/content/connectors/database/redshift/index.md index 3b1dcb5cd28..9d0a0004c06 100644 --- a/openmetadata-docs/content/connectors/database/redshift/index.md +++ b/openmetadata-docs/content/connectors/database/redshift/index.md @@ -46,6 +46,13 @@ custom Airflow plugins to handle the workflow deployment. Redshift user must grant `SELECT` privilege on table [SVV_TABLE_INFO](https://docs.aws.amazon.com/redshift/latest/dg/r_SVV_TABLE_INFO.html) to fetch the metadata of tables and views. For more information visit [here](https://docs.aws.amazon.com/redshift/latest/dg/c_visibility-of-data.html). +```sql + +CREATE USER test_user with PASSWORD 'password'; +GRANT SELECT ON TABLE svv_table_info to test_user; + +``` + ## Metadata Ingestion ### 1. Visit the Services Page