-
Notifications
You must be signed in to change notification settings - Fork 16.4k
Description
Hi Everyone,
We are trying to migrate our code from Airflow version 1.10.5 to 1.10.15 (bridge version) and having plans to use Airflow 2.0. But post migrating our code into 1.10.15 we are facing some dependency issues where the same code works fine in 1.10.5.
When looked further, we identified that upstream and downstream functions with parameter is causing the issue. we tried modifying it with >> & << and that works. We have around 100 DAG in our system and it would be a huge task to modify all 100 DAG and test those. we also have some interdependencies like Task A is upstream to 3 tasks & also serves as downstream to 5 other tasks. In such cases it would be really difficult to go for some automated way to modify our code
Airflow Hanging Dependencies in 1.10.15

In graph view, dependencies appear like they are not properly connected but are actually connected. If I check the task instance details in this, upstream and downstream are set properly but it doesn't appear as expected
Same Code works in Airflow 1.10.5

where the same code works properly and dependencies shows up in 1.10.5 version
Code block that has function parameters, here if the dependencies is between the operator it works fine, but when we brought python function which returns operator that is working well for past 2 years in Airflow version 1.10.5 but shows up this graph dependency issues in new version
Kindly take a look at this and provide some advice on how to proceed further
