uranusjr commented on issue #38826: URL: https://github.com/apache/airflow/issues/38826#issuecomment-2046904053
> * As soon an a DAG is deleted remove entry from dag_schedule_dataset_reference so that entries are not added in the dataset_dag_run_queue table for any of the dataset events. I don’t think we need to do that. Instead, the query to `dag_schedule_dataset_reference` can check if a DAG has been paused or deleted (actually deactivated; if the row is actually _removed_ the database automatically propogates the deletion via foreign key). This way we only need to handle the comsuming side. -- 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]
