ephraimbuddy opened a new pull request, #27538: URL: https://github.com/apache/airflow/pull/27538
What happened was that the DatasetDagRunQueue(DDRQ) was updated before the change in the consumer dag. During sync to db, the dataset was marked for deletion from the dag causing the primary key in DDRQ to be nullified which threw an error. The solution was to add cascade deletion on DagScheduleDatasetReference relation to DDRQ so that when DagScheduleDatasetReference object is marked for deletion the DDRQ object will also be marked -- 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]
