sai3563 commented on issue #26581:
URL: https://github.com/apache/airflow/issues/26581#issuecomment-1255843830

   Hi @jedcunningham 
   
   Great Idea! But if we do that, wouldn't that make it auto delete records in 
RTIF if records in `task_instance` are also deleted?
   
   
https://airflow.apache.org/docs/apache-airflow/stable/cli-and-env-variables-ref.html
   
   As per the docs above, currently in parameters of `airflow db clean`, we 
have parameter `--tables` to delete tables & separate options are provided for 
TI and RTIF. With FK with cascading delete, wouldn't it break this behavior and 
cause RTIF deletion by just selecting TI in the parameter?


-- 
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]

Reply via email to