You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Shashi Kant Sharms (JIRA)" <ji...@apache.org> on 2017/02/24 19:52:44 UTC

[jira] [Created] (AIRFLOW-905) Support querying dag_run state by run_id

Shashi Kant Sharms created AIRFLOW-905:
------------------------------------------

             Summary: Support querying dag_run state by run_id
                 Key: AIRFLOW-905
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-905
             Project: Apache Airflow
          Issue Type: New Feature
          Components: cli
            Reporter: Shashi Kant Sharms
            Assignee: Shashi Kant Sharms
            Priority: Minor


Initial analysis:
There are two commands dag_state and task_state
for dag state change we can pass run id from CLI and pass the same in find function for Dags.
for task_state we need to modify the Task Instance model to include run id and then we can find based upon run id as well. As part of this we will make execution date as optional attribute for task instance find function. 

Also including run id in "airflow run"  and "airflow render"  



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)