From a704e77af933bd9a988e5ad98f206c5e34b41830 Mon Sep 17 00:00:00 2001 From: Dago Romer Date: Wed, 21 Dec 2022 16:52:06 +0100 Subject: [PATCH] fix(ingest): fixed snowflake oauth ingestion not using role attribute from recipe (#6825) --- .../src/datahub/ingestion/source_config/sql/snowflake.py | 1 + 1 file changed, 1 insertion(+) diff --git a/metadata-ingestion/src/datahub/ingestion/source_config/sql/snowflake.py b/metadata-ingestion/src/datahub/ingestion/source_config/sql/snowflake.py index fa1e7462f55159..1924488a4fc5c4 100644 --- a/metadata-ingestion/src/datahub/ingestion/source_config/sql/snowflake.py +++ b/metadata-ingestion/src/datahub/ingestion/source_config/sql/snowflake.py @@ -374,6 +374,7 @@ def get_oauth_connection(self): user=self.username, account=self.account_id, token=token, + role=self.role, warehouse=self.warehouse, authenticator=VALID_AUTH_TYPES.get(self.authentication_type), application=APPLICATION_NAME,