Jarek Potiuk created AIRFLOW-3985:
-------------------------------------

             Summary: Adding linear DAG relationships with unary operator
                 Key: AIRFLOW-3985
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-3985
             Project: Apache Airflow
          Issue Type: New Feature
            Reporter: Jarek Potiuk


It would be nice for development and testing to be able to build linear DAG 
dependencies with unary + operator rather than with << with automated upstream 
dependency to the previously added task.

Often during development we need to inject/remove tasks between two other tasks 
and with unary operator it might be very easy to comment out whole lines of 
code.

Example:
{code:java}
 +op1
 +op2
 +op3{code}
might be equivalent to:
{code:java}
op1 >> op2 >> op3{code}
This way we can comment out one line:
{code:java}
 +op1
 # +op2
 +op3{code}
 equivalent to:
{code:java}
op1 >> op3{code}
 



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

Reply via email to