I noticed that dependency graph is getting lost when the models are referred through macros.
For example, in the below screenshot, the model B & C is created from macro where model B's macro is referring model A & model C's macro is referring model B in it. So ideally model A should run first & then B and then C. Here all three are running in parallel when using the DbtTaskGroup. Just to add, this dependency runs as expected when using simple dbt run command.
Through DbtTaskGroup:
Expected:
Model A -> Model B -> Model C
Not sure if this is a known issue, but if you can please check and advise.
Hi Team,
I noticed that dependency graph is getting lost when the models are referred through macros. For example, in the below screenshot, the model B & C is created from macro where model B's macro is referring model A & model C's macro is referring model B in it. So ideally model A should run first & then B and then C. Here all three are running in parallel when using the DbtTaskGroup. Just to add, this dependency runs as expected when using simple dbt run command.
Through DbtTaskGroup:
Expected: Model A -> Model B -> Model C
Not sure if this is a known issue, but if you can please check and advise.