You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/03/17 08:05:04 UTC

[GitHub] [airflow] uranusjr commented on pull request #22334: Add fk between xcom and task instance

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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org