kazanzhy commented on code in PR #27514:
URL: https://github.com/apache/airflow/pull/27514#discussion_r1016014971
##########
airflow/providers/common/sql/hooks/sql.py:
##########
@@ -264,6 +266,7 @@ def run(
results = []
for sql_statement in sql:
self._run_command(cur, sql_statement, parameters)
+ self._update_query_ids(cur)
Review Comment:
Seems it's synchronous for Trino
https://github.com/trinodb/trino-python-client/blob/b008848101d5eb915c1a7778cf780c72ea61a183/trino/dbapi.py#L407
https://github.com/trinodb/trino-python-client/blob/b008848101d5eb915c1a7778cf780c72ea61a183/trino/client.py#L757
as well as for Snowflake
https://docs.snowflake.com/en/user-guide/python-connector-example.html#performing-a-synchronous-query
--
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]