You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now that you know a little about me, let me tell you about the issue I am having:
Description of Issue
The scheduler do not execute the task considering the start_date param on the operator level (in this case a PythonOperator).
What did you expect to happen?
The task being scheduled on a different time.
What happened instead?
on the task details I can see that the start_date changed on the PythonOperator, however the executions prints on the log the time set on default_args
Here is how you can reproduce this issue on your machine:
I have start_date set on default_args on the DAG definition.
Leave running to get some successful tasks
I set a different start_date to the PythonOperator.
Clear some of the last successful executions to force the scheduler rerun the task
On the task log I get the following: [2016-03-28 09:00:50,997] {models.py:974} INFO - Executing <Task(PythonOperator): send_email> on 2016-03-26 09:00:00
I guess this happens due to the last execution date + schedule interval rule.
I think that the common expectation here is: after the change on the start_date, the new schedules to be executed are considering the new date.
But I do not know too if it goes against what the project proposes.
What do you guys think about it?
The text was updated successfully, but these errors were encountered:
Dear Airflow Maintainers,
Before I tell you about my issue, let me describe my environment:
Environment
Now that you know a little about me, let me tell you about the issue I am having:
Description of Issue
The scheduler do not execute the task considering the start_date param on the operator level (in this case a PythonOperator).
The task being scheduled on a different time.
on the task details I can see that the
start_date
changed on the PythonOperator, however the executions prints on the log the time set ondefault_args
Reproduction Steps
start_date
set ondefault_args
on the DAG definition.start_date
to the PythonOperator.[2016-03-28 09:00:50,997] {models.py:974} INFO - Executing <Task(PythonOperator): send_email> on 2016-03-26 09:00:00
I guess this happens due to the last execution date + schedule interval rule.
I think that the common expectation here is: after the change on the start_date, the new schedules to be executed are considering the new date.
But I do not know too if it goes against what the project proposes.
What do you guys think about it?
The text was updated successfully, but these errors were encountered: