kazanzhy commented on code in PR #27514:
URL: https://github.com/apache/airflow/pull/27514#discussion_r1015975103
##########
airflow/providers/snowflake/hooks/snowflake.py:
##########
@@ -321,6 +320,21 @@ def set_autocommit(self, conn, autocommit: Any) -> None:
def get_autocommit(self, conn):
return getattr(conn, "autocommit_mode", False)
+ @staticmethod
+ def split_sql_string(sql: str) -> list[str]:
Review Comment:
For most hooks, we split queries into statements using `sqlparse` but
Snowflake has its own splitter.
--
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]