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 2021/04/02 20:36:07 UTC

[GitHub] [airflow] kaxil edited a comment on issue #15150: "duplicate key value violates unique constraint "dag_run_dag_id_execution_date_key" when triggering a DAG

kaxil edited a comment on issue #15150:
URL: https://github.com/apache/airflow/issues/15150#issuecomment-812701161


   The DagRun table has the following constraints:
   
   https://github.com/apache/airflow/blob/83d702c345f8f4ce16d32268f4f83ee508fea676/airflow/models/dagrun.py#L96-L97
   
   which is why you can't create / trigger a DagRun that violates it i.e. you can't trigger a DAG with same `execution_date` or with same `run_id`.


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

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