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:
[email protected]


With regards,
Apache Git Services

Reply via email to