Skip to content

Fix: warn on dbt variable definition failure instead of raising#5427

Merged
georgesittas merged 2 commits intomainfrom
jo/warn_on_variabla_render_failure
Sep 24, 2025
Merged

Fix: warn on dbt variable definition failure instead of raising#5427
georgesittas merged 2 commits intomainfrom
jo/warn_on_variabla_render_failure

Conversation

@georgesittas
Copy link
Contributor

@georgesittas georgesittas commented Sep 23, 2025

dbt successfully executes a project that contains this in its dbt_project.yml, as long as the variable is not referenced anywhere (notice the lack of )):

vars:
  x: "{{ ref('test_model' }}"

@georgesittas georgesittas requested a review from a team September 23, 2025 09:58
@georgesittas georgesittas force-pushed the jo/warn_on_variabla_render_failure branch from 9457c66 to 70e8628 Compare September 23, 2025 10:43
@georgesittas georgesittas force-pushed the jo/warn_on_variabla_render_failure branch from 70e8628 to 28a5f0e Compare September 23, 2025 11:39
@georgesittas georgesittas merged commit aa515c5 into main Sep 24, 2025
34 of 36 checks passed
@georgesittas georgesittas deleted the jo/warn_on_variabla_render_failure branch September 24, 2025 09:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants