From 73496c2cda29b14a00b95b9bc838aecca95fe961 Mon Sep 17 00:00:00 2001 From: Adrian Pasek <99073144+adrian-pasek-prv@users.noreply.github.com> Date: Sat, 23 Nov 2024 20:42:13 +0100 Subject: [PATCH] Fix compiled name of DBT_ENV_CUSTOM_ENV_MY_FAVORITE_NUMBER DBT_ENV_CUSTOM_ENV prefix is stripped during compilation --- website/docs/reference/dbt-jinja-functions/env_var.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/reference/dbt-jinja-functions/env_var.md b/website/docs/reference/dbt-jinja-functions/env_var.md index 28feccc30e4..7e85ed9797a 100644 --- a/website/docs/reference/dbt-jinja-functions/env_var.md +++ b/website/docs/reference/dbt-jinja-functions/env_var.md @@ -91,7 +91,7 @@ $ DBT_ENV_CUSTOM_ENV_MY_FAVORITE_COLOR=indigo DBT_ENV_CUSTOM_ENV_MY_FAVORITE_NUM ``` Compiles to: ```sql --- {'MY_FAVORITE_COLOR': 'indigo', 'DBT_ENV_CUSTOM_ENV_MY_FAVORITE_NUMBER': '6'} +-- {'MY_FAVORITE_COLOR': 'indigo', 'MY_FAVORITE_NUMBER': '6'} select 1 as id ```