You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Siddharth Anand (JIRA)" <ji...@apache.org> on 2018/08/31 06:06:00 UTC

[jira] [Closed] (AIRFLOW-2983) Add prev_ds_nodash and next_ds_nodash macro

     [ https://issues.apache.org/jira/browse/AIRFLOW-2983?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Siddharth Anand closed AIRFLOW-2983.
------------------------------------
    Resolution: Fixed

> Add prev_ds_nodash and next_ds_nodash macro 
> --------------------------------------------
>
>                 Key: AIRFLOW-2983
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-2983
>             Project: Apache Airflow
>          Issue Type: Bug
>            Reporter: Tao Feng
>            Assignee: Tao Feng
>            Priority: Minor
>
> Similar to [#3418|https://github.com/apache/incubator-airflow/pull/3418], but introduce two nodash macros:
> {\{ prev_ds_nodash }}: the previous execution date as \{{ YYYYMMDD }}
> {\{ next_ds_nodash }}: the next execution date as \{{ YYYYMMDD }}
> We introduced prev_ds and next_ds in [#3418|https://github.com/apache/incubator-airflow/pull/3418] which is beneficial for backfill. By using these two macros, we could override the schedule_internal from daily to certain days(e.g 7 days) in backfill.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)