You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Daniel Imberman (Jira)" <ji...@apache.org> on 2020/03/29 18:54:00 UTC
[jira] [Closed] (AIRFLOW-644) Issue with past runs when using
starttime as datetime.now()
[ https://issues.apache.org/jira/browse/AIRFLOW-644?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Imberman closed AIRFLOW-644.
-----------------------------------
Resolution: Auto Closed
> Issue with past runs when using starttime as datetime.now()
> -----------------------------------------------------------
>
> Key: AIRFLOW-644
> URL: https://issues.apache.org/jira/browse/AIRFLOW-644
> Project: Apache Airflow
> Issue Type: Bug
> Components: DagRun
> Reporter: Puneeth Potu
> Priority: Major
>
> Hi, we used the following snippet in the dag parameters
> ```default_args = {
> 'owner': 'dwh',
> 'depends_on_past': True,
> 'wait_for_downstream': True,
> 'start_date': datetime.now(),```
> When used datetime.now() along with frequency as @daily I see the last 5 runs in my graph view, and the dag status of all the previous runs is "FAILED"
> When used datetime.now() along with frequency as @monthly I see the last 14 runs in my graph view, and the dag status of all the previous runs is "FAILED"
> When used datetime.now() along with frequency as @weekly I see the last 53 runs in my graph view, and the dag status of all the previous runs is "FAILED"
> For monthly and weekly it is not showing either the current week or month. I activated my Dags today (11/22/2016).
> I see weekly runs populated from (2015-11-15 to 2016-11-13), and I don't see 2016-11-20 which is the latest.
> I see Monthly runs populated from (2015-09-01 to 2016-10-01) and I don't see 2016-11-01 which is the latest.
> Please, advise if this is the expected behavior.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)