Closed lepagea01 closed 6 months ago
@lepagea01 This bug report absolutely rocks. I think this defect may be related to some new features in 0.5.0, so there should be an easy fix here.
I was able to find the underlying defect here, and a fix has been implemented. I've also updated our test cases so we don't miss seeds in the future. This fix will be available in dbt-loom 0.5.1, which will be available within the hour.
@lepagea01 This bug report absolutely rocks. I think this defect may be related to some new features in 0.5.0, so there should be an easy fix here.
Truth be told, dbt-loom rocks! Cross-project dependencies was already a game changer for those of us working on large projects, dbt-loom is a life-saver for those of us also wanting to develop outside of dbt Cloud.
Thanks for time you all invest in this project. And thanks for this quick turnaround. Eager to test 0.5.1.
Describe the bug Upstream node injection in version 0.5.0 may have introduced a bug. Models in a child project having dependencies to public models in a parent model no longer compile. Things were running smoothly in previous versions of dtb-loom.
A typical error message resulting from compiling the child project looks as follows:
The error message above mentions the public
dim_commission_type
model in theparent
project that stems from the protectedseed_commission_type
seed in theparent
project as well. Some models of thechild
project reference thedim_commission_type
model in theparent
project, but none references theseed_commission_type
seed. Since we have other projects for which cross-project dependencies work fine with dbt-loom 0.5.0, the problem may be limited to scenarios where protected seeds are used upstream.To Reproduce The overall setup is as follows:
parent
, contains various models, with both protected and public models.parent
project compiles/builds successfully.manifest.json
file is properly referenced in thedbt_loom.config.yml
file at the root of a child project, say,child
.child
project reference public models in theparent
project, in turn based on protected seeds in theparent
project.dbt run
,dbt build
ordbt compile
will all produce error messages similar to the one above when executed in thechild
project.Expected behavior To have the child project compiling successfully.
Setup
Please, let me know if additional information could be useful.
Thanks,