You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2020/12/16 10:32:55 UTC

[GitHub] [airflow] ashb commented on issue #13101: Incorrectly rendered graph

ashb commented on issue #13101:
URL: https://github.com/apache/airflow/issues/13101#issuecomment-746059692


   The issue is `op3 >> op4`. This expression returns the right hand side, so to expand out `op1 >> [op2, op3 >> op4] >> op5`, it is equivalent to:
   
   ```python
   op1 >> op2
   op3 >> op4
   op1 >> op4
   op2 >> op5
   op4 >> op5
   ```
   
   To get the structure you want you need to split it up a bit.
   
   
   ```python
   op1 >> [op2, op3]
   op3 >> op4
   op5 << [op2, op4]
   ```
   
   (I can't remember if you can do `[op2, op4] >> op5` or not.)


----------------------------------------------------------------
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:
users@infra.apache.org