turbaszek commented on a change in pull request #20106:
URL: https://github.com/apache/airflow/pull/20106#discussion_r764407162



##########
File path: airflow/providers/snowflake/hooks/snowflake.py
##########
@@ -25,10 +25,22 @@
 from snowflake import connector
 from snowflake.connector import DictCursor, SnowflakeConnection
 from snowflake.connector.util_text import split_statements
+from sqlalchemy import create_engine
 
 from airflow.hooks.dbapi import DbApiHook
 
 
+def _boolify(value):
+    if isinstance(value, bool):
+        return value
+    if isinstance(value, str):
+        if value.lower() == 'false':
+            return False
+        elif value.lower() == 'true':
+            return True
+    return value

Review comment:
       I'm not sure about the return - what it means it terms of boolean value?




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to