apache / airflow

Apache Airflow - A platform to programmatically author, schedule, and monitor workflows
https://airflow.apache.org/
Apache License 2.0
37.13k stars 14.31k forks source link

Generalize on_kill() for SQLExecuteQueryOperator #27314

Open eladkal opened 2 years ago

eladkal commented 2 years ago

Body

The operator doesn't have on_kill method and we try to find a way to make a generalized one. Referencing TrinoOperator: https://github.com/apache/airflow/blob/2a34dc9e8470285b0ed2db71109ef4265e29688b/airflow/providers/trino/operators/trino.py#L62-L75

Committer

potiuk commented 2 years ago

Yes. In general. Deteils are more complex