[jira] [Commented] (AIRFLOW-2510) Introduce new macros: prev_ds and next_ds
[ https://issues.apache.org/jira/browse/AIRFLOW-2510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16601517#comment-16601517 ] Apache Spark commented on AIRFLOW-2510: --- User 'milton0825' has created a pull request for this issue: https://github.com/apache/incubator-airflow/pull/3402 > Introduce new macros: prev_ds and next_ds > - > > Key: AIRFLOW-2510 > URL: https://issues.apache.org/jira/browse/AIRFLOW-2510 > Project: Apache Airflow > Issue Type: Improvement >Reporter: Chao-Han Tsai >Assignee: Chao-Han Tsai >Priority: Major > Fix For: 1.10.0, 2.0.0 > > > Introduce new macros {{ prev_ds }} and {{ next_ds }}. > {{ prev_ds }}: the previous execution date as {{ -MM-DD }} > {{ next_ds }}: the next execution date as {{ -MM-DD }} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (AIRFLOW-2510) Introduce new macros: prev_ds and next_ds
[ https://issues.apache.org/jira/browse/AIRFLOW-2510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16601500#comment-16601500 ] Apache Spark commented on AIRFLOW-2510: --- User 'milton0825' has created a pull request for this issue: https://github.com/apache/incubator-airflow/pull/3404 > Introduce new macros: prev_ds and next_ds > - > > Key: AIRFLOW-2510 > URL: https://issues.apache.org/jira/browse/AIRFLOW-2510 > Project: Apache Airflow > Issue Type: Improvement >Reporter: Chao-Han Tsai >Assignee: Chao-Han Tsai >Priority: Major > Fix For: 1.10.0, 2.0.0 > > > Introduce new macros {{ prev_ds }} and {{ next_ds }}. > {{ prev_ds }}: the previous execution date as {{ -MM-DD }} > {{ next_ds }}: the next execution date as {{ -MM-DD }} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (AIRFLOW-2510) Introduce new macros: prev_ds and next_ds
[ https://issues.apache.org/jira/browse/AIRFLOW-2510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16601490#comment-16601490 ] Apache Spark commented on AIRFLOW-2510: --- User 'milton0825' has created a pull request for this issue: https://github.com/apache/incubator-airflow/pull/3418 > Introduce new macros: prev_ds and next_ds > - > > Key: AIRFLOW-2510 > URL: https://issues.apache.org/jira/browse/AIRFLOW-2510 > Project: Apache Airflow > Issue Type: Improvement >Reporter: Chao-Han Tsai >Assignee: Chao-Han Tsai >Priority: Major > Fix For: 1.10.0, 2.0.0 > > > Introduce new macros {{ prev_ds }} and {{ next_ds }}. > {{ prev_ds }}: the previous execution date as {{ -MM-DD }} > {{ next_ds }}: the next execution date as {{ -MM-DD }} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (AIRFLOW-2510) Introduce new macros: prev_ds and next_ds
[ https://issues.apache.org/jira/browse/AIRFLOW-2510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16490394#comment-16490394 ] ASF subversion and git services commented on AIRFLOW-2510: -- Commit 66f00bbf7b296823fbe35c157d839da321aa6162 in incubator-airflow's branch refs/heads/master from [~milton0825] [ https://git-wip-us.apache.org/repos/asf?p=incubator-airflow.git;h=66f00bb ] [AIRFLOW-2510] Introduce new macros: prev_ds and next_ds Closes #3418 from milton0825/introduce-next_ds- prev_ds > Introduce new macros: prev_ds and next_ds > - > > Key: AIRFLOW-2510 > URL: https://issues.apache.org/jira/browse/AIRFLOW-2510 > Project: Apache Airflow > Issue Type: Improvement >Reporter: Chao-Han Tsai >Assignee: Chao-Han Tsai >Priority: Major > > Introduce new macros {{ prev_ds }} and {{ next_ds }}. > {{ prev_ds }}: the previous execution date as {{ -MM-DD }} > {{ next_ds }}: the next execution date as {{ -MM-DD }} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (AIRFLOW-2510) Introduce new macros: prev_ds and next_ds
[ https://issues.apache.org/jira/browse/AIRFLOW-2510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16484559#comment-16484559 ] Chao-Han Tsai commented on AIRFLOW-2510: Let me clarify a bit: prev_ds = ds - schedule_interval in -MM-DD format next_ds = ds + schedule_interval in -MM-DD format whereas yesterday_ds = ds-1 tomorrow_ds = ds+1 > Introduce new macros: prev_ds and next_ds > - > > Key: AIRFLOW-2510 > URL: https://issues.apache.org/jira/browse/AIRFLOW-2510 > Project: Apache Airflow > Issue Type: Improvement >Reporter: Chao-Han Tsai >Assignee: Chao-Han Tsai >Priority: Major > > Introduce new macros {{ prev_ds }} and {{ next_ds }}. > {{ prev_ds }}: the previous execution date as {{ -MM-DD }} > {{ next_ds }}: the next execution date as {{ -MM-DD }} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (AIRFLOW-2510) Introduce new macros: prev_ds and next_ds
[ https://issues.apache.org/jira/browse/AIRFLOW-2510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16484511#comment-16484511 ] Arthur Wiedmer commented on AIRFLOW-2510: - Have you tried using yesterday_ds and tomorrow_ds ? https://github.com/apache/incubator-airflow/blob/1f0a717b65e0ea7e0127708b084baff0697f0946/airflow/models.py#L1755 > Introduce new macros: prev_ds and next_ds > - > > Key: AIRFLOW-2510 > URL: https://issues.apache.org/jira/browse/AIRFLOW-2510 > Project: Apache Airflow > Issue Type: Improvement >Reporter: Chao-Han Tsai >Assignee: Chao-Han Tsai >Priority: Major > > Introduce new macros {{ prev_ds }} and {{ next_ds }}. > {{ prev_ds }}: the previous execution date as {{ -MM-DD }} > {{ next_ds }}: the next execution date as {{ -MM-DD }} -- This message was sent by Atlassian JIRA (v7.6.3#76005)