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 2020/01/06 02:22:01 UTC

[GitHub] [airflow] yuqian90 commented on issue #7038: [AIRFLOW-4495] allow externally triggered dags to run for future exec dates

yuqian90 commented on issue #7038: [AIRFLOW-4495] allow externally triggered dags to run for future exec dates
URL: https://github.com/apache/airflow/pull/7038#issuecomment-570979008
 
 
   > I don't think we should allow this. This will create a problem for the following case:
   > 
   > DAG is scheduled to run every day at 5 PM
   > 
   > 1. Dag is triggered for a future date (ex: 10 Jan 2020 17:00:00) and succeeds
   > 2. 10 Jan arrives, Scheduler tries to run it but fails because it violates unique key constraint
   
   Hi, @kaxil. Thanks for pointing out. I agree with @tooptoop4 that his change is only meant for DAGs with `schedule_interval` equal to None, i.e. those that are triggered externally using the CLI or other means. The ones scheduled by Airflow should not be affected.

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


With regards,
Apache Git Services