This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 9dac90a42e Remove reference to execution_info in snowflake hook
docstring (#37804)
9dac90a42e is described below
commit 9dac90a42e0ceadd09f6d21fa9810d40a5dbc395
Author: remisalmon <[email protected]>
AuthorDate: Fri Mar 1 01:52:03 2024 -0700
Remove reference to execution_info in snowflake hook docstring (#37804)
---
airflow/providers/snowflake/hooks/snowflake.py | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/airflow/providers/snowflake/hooks/snowflake.py
b/airflow/providers/snowflake/hooks/snowflake.py
index 90d0ac9a42..c545f668fb 100644
--- a/airflow/providers/snowflake/hooks/snowflake.py
+++ b/airflow/providers/snowflake/hooks/snowflake.py
@@ -341,10 +341,8 @@ class SnowflakeHook(DbApiHook):
"""Run a command or list of commands.
Pass a list of SQL statements to the SQL parameter to get them to
- execute sequentially. The variable ``execution_info`` is returned so
- that it can be used in the Operators to modify the behavior depending
on
- the result of the query (i.e fail the operator if the copy has
processed
- 0 files).
+ execute sequentially. The result of the queries is returned if the
+ ``handler`` callable is set.
:param sql: The SQL string to be executed with possibly multiple
statements, or a list of sql statements to execute