# integration-dbt

Remi Gabillet

02/16/2023, 9:29 AM
Hi, my assets lineage blends dbt, athena and python assets. This results in the dbt models being grouped in distinct
ops at run time. Unfortunately some of their dependencies are lost in the process, and they are built in the wrong order. I put together a Loom and a quick follow-up Loom that highlight the problem.
hi @rex, you were just helping me on discussion #8873, this is the same pipeline. Maybe you know what's going on?
This problem is still happening for me on 1.1.19. @rex or maybe @owen do you have any ideas?


02/21/2023, 2:51 PM
Hey Remi, sorry for the late reply. Do you mind filing an GitHub issue regarding this problem so that we can track it? This looks like a problem with our asset subsetting algorithm - we use that to determine the order in which assets are materialized as well as to ensure that there are no cycles when dependencies are defined.

Remi Gabillet

02/21/2023, 2:51 PM
will do, thanks Rex

Sam Korn

04/04/2023, 9:08 PM
Hi @Remi Gabillet @rex - can either of you point me to the GitHub issue that was filed?

Remi Gabillet

04/06/2023, 3:26 PM
hi Sam, the bug disappeared so I did not end up filing an issue actually
I just ran this issue again so I filed it here
❤️ 1