uranusjr commented on pull request #22334:
URL: https://github.com/apache/airflow/pull/22334#issuecomment-1070513060


   Forgot to mention, we can do this directly because the prior `select` in the 
migration already filtered out all `xcom` rows without a matching `dag_run` 
row, and since `task_instance` already has a foreign key to `dag_run`, it is 
not possible to have dangling `xcom` rows when we add the fk constraint in the 
migration.


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