kazanzhy commented on PR #27514: URL: https://github.com/apache/airflow/pull/27514#issuecomment-1304899709
`.kill()` method is implemented only for Trino/Preso and Snowflake. Cursors of these connectors return `query_id` which is used to stop running query. For the other databases we could use something like: ``` select pg_terminate_backend(pid) from pg_stat_activity where query = ''; ``` if we will save the latest queries as well as QueryId -- 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]
