Skip to content

Commit

Permalink
chore(pipeline) : Add an explicit DBT model dependency
Browse files Browse the repository at this point in the history
The 'services' table has an implicit dependency to the 'structures' mart
as its constraint enforces a check on its structure_id key towards that
table.

Make sure DBT knows about it so it generates the structures first.

Referenced by dbt-labs/dbt-core#8062,
might be fixed in dbt-labs/dbt-common#163
last week but:
- not released
- not documented
- not sure the commit will actually help when I read it, needs more
  changes I suppose
  • Loading branch information
vperron committed Aug 5, 2024
1 parent 1235959 commit dcf2c2d
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
-- depends_on: {{ ref('marts_inclusion__structures') }}

WITH services AS (
SELECT * FROM {{ ref('int__union_services__enhanced') }}
),
Expand Down

0 comments on commit dcf2c2d

Please sign in to comment.