airflow-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arthur Wiedmer <arthur.wied...@gmail.com>
Subject Re: Questions about upstreams
Date Mon, 04 Jul 2016 03:57:17 GMT
Hi Jason,

You understand right, this is the default behavior. We also have the
concept of trigger_rule which allows for more flexible rules, including: at
least one success, at least one failure etc...

You can see the code here :
https://github.com/apache/incubator-airflow/blob/master/airflow/utils/trigger_rule.py

Best,
Arthur

On Fri, Jul 1, 2016 at 11:35 AM, Jason Chen <chingchien.chen@gmail.com>
wrote:

> Hi,
>  Airflow is great to allow setting multiple upstream tasks.
>  Say, task3 can have [task1, task2] as upstreams.
>  My understanding is that task3 will be triggered only BOTH task1 and task2
> are successful.
>  Is that right ?
>
>  Thanks.
>
> Jason
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message