HaloKu created AIRFLOW-4597:
-------------------------------

             Summary: Add DagStateSensor
                 Key: AIRFLOW-4597
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-4597
             Project: Apache Airflow
          Issue Type: Wish
          Components: contrib
    Affects Versions: 1.10.3
            Reporter: HaloKu


Airflow offers variety of sensor to poke DAGs.

Most of them are time based or execution_date base.

I have use case where all I care about is the DAG state.

DAG has 3 states: Completed, Running, Failed (The sensor is on DAG level. not 
on task level.)

For example:

DAG A, DAG B

B can run only if A is not in "Running" state.

I don't care which execution_date A has. Simply B start only if A doesn't have 
active run.

 

 

 

 

 

 



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

Reply via email to