[ 
https://issues.apache.org/jira/browse/AIRFLOW-3985?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16784974#comment-16784974
 ] 

ASF GitHub Bot commented on AIRFLOW-3985:
-----------------------------------------

potiuk commented on pull request #4810: [AIRFLOW-3985] Added unary + operator 
for easier linear DAG building
URL: https://github.com/apache/airflow/pull/4810
 
 
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> 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
>            Priority: Major
>
> 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