You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "jack (JIRA)" <ji...@apache.org> on 2019/01/27 10:02:00 UTC

[jira] [Updated] (AIRFLOW-3057) add macros that see only successful dags

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

jack updated AIRFLOW-3057:
--------------------------
    Description: 
Assume the following case:

1st DAG successful

2nd DAG failed

3rd DAG starts running

 

When 3rd DAG access  {color:#e74c3c}{{{color}{color:#e74c3c} {color}{color:#e74c3c}prev_execution_date{color}{color:#e74c3c} {color}{color:#e74c3c}}}{color} he will see 2nd DAG time.

 
 # This should be listed in [https://airflow.incubator.apache.org/code.html#default-variables] 
 #  is there a way to implement  {color:#e74c3c}{{{color}{color:#e74c3c} {color}{color:#e74c3c}prev_execution_date_success{color}{color:#e74c3c} {color}{color:#e74c3c}}}{color}  that will consider only successful DAGS?

 

 

 

 

  was:
Assume the following case:

1st DAG successful

2nd DAG failed

3rd DAG starts running

 

When 3rd DAG access {color:#e74c3c}{{{color}{color:#e74c3c} {color}{color:#e74c3c}next_execution_date{color}{color:#e74c3c} {color}{color:#e74c3c}}}{color}  or   {color:#e74c3c}{{{color}{color:#e74c3c} {color}{color:#e74c3c}prev_execution_date{color}{color:#e74c3c} {color}{color:#e74c3c}}}{color} he will see 2nd DAG time.

 
 # This should be listed in [https://airflow.incubator.apache.org/code.html#default-variables] 
 #  is there a way to implement  {color:#e74c3c}{{{color}{color:#e74c3c} {color}{color:#e74c3c}prev_execution_date_success{color}{color:#e74c3c} {color}{color:#e74c3c}}}{color}  that will consider only successful DAGS?

 

 

 

 


> add macros that see only successful dags
> ----------------------------------------
>
>                 Key: AIRFLOW-3057
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-3057
>             Project: Apache Airflow
>          Issue Type: Task
>            Reporter: jack
>            Priority: Major
>
> Assume the following case:
> 1st DAG successful
> 2nd DAG failed
> 3rd DAG starts running
>  
> When 3rd DAG access  {color:#e74c3c}{{{color}{color:#e74c3c} {color}{color:#e74c3c}prev_execution_date{color}{color:#e74c3c} {color}{color:#e74c3c}}}{color} he will see 2nd DAG time.
>  
>  # This should be listed in [https://airflow.incubator.apache.org/code.html#default-variables] 
>  #  is there a way to implement  {color:#e74c3c}{{{color}{color:#e74c3c} {color}{color:#e74c3c}prev_execution_date_success{color}{color:#e74c3c} {color}{color:#e74c3c}}}{color}  that will consider only successful DAGS?
>  
>  
>  
>  



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