You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Jarek Potiuk (JIRA)" <ji...@apache.org> on 2019/03/05 22:21:00 UTC
[jira] [Closed] (AIRFLOW-3985) Adding linear DAG relationships with
unary operator
[ https://issues.apache.org/jira/browse/AIRFLOW-3985?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jarek Potiuk closed AIRFLOW-3985.
---------------------------------
Resolution: Not A Problem
> 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)