From e64bed10b4706c75da6d85ced788e394fdbeca9c Mon Sep 17 00:00:00 2001 From: Ayush Shah Date: Wed, 20 Apr 2022 15:47:41 +0530 Subject: [PATCH] Fixed Snowflake (#4270) --- ingestion/src/metadata/ingestion/source/snowflake.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ingestion/src/metadata/ingestion/source/snowflake.py b/ingestion/src/metadata/ingestion/source/snowflake.py index e47e69d7b6b..136ac543df8 100644 --- a/ingestion/src/metadata/ingestion/source/snowflake.py +++ b/ingestion/src/metadata/ingestion/source/snowflake.py @@ -49,7 +49,7 @@ class SnowflakeSource(SQLSource): config.serviceConnection.__root__.config.connectionArguments ) if connection_arguments: - if connection_arguments.private_key: + if hasattr(connection_arguments, "private_key"): private_key = connection_arguments.private_key p_key = serialization.load_pem_private_key( bytes(private_key, "utf-8"),