uranusjr edited a comment on pull request #16960: URL: https://github.com/apache/airflow/pull/16960#issuecomment-879499294
> delete(ti) will also delete the dag_run(do by the sqla relationship) Where is this relationship defined? The relationship between DagRun and TaskInstance is defined here: https://github.com/apache/airflow/blob/d25854dd413aa68ea70fb1ade7fe01425f456192/airflow/models/dagrun.py#L100-L105 But I don’t see any cascading options set (the default is to not cascade, if I understand correctly). If this is really the cause, we can’t just not delete those TaskInstances so some other clean up would be needed. -- 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]
