Hello there. Im facing a problem with Cyclical Dependencies in dbt using database: Databricks. Generally, Im trying to replicate some SQL procedures.
I found article, where the guy is solving problem but it is designed for Snowflake not for Databricks.
My workflow and dependecies:
Im using int_model_1 in stg_model_2 which causes an error: RuntimeError: Found a cycle. Basically, in stg_model_2 I need data from int_model_1 from last/previous run.
Any suggestions, how to solve this problem, please?
Im pretty new to dbt, so if you need any additional info, please let me know.
Thank you
Jozef