From 4c57a0d721cc0676dc620480bbbaff58872c6586 Mon Sep 17 00:00:00 2001 From: Yam ZhengLim Date: Thu, 22 Jun 2023 14:33:06 +0000 Subject: [PATCH] update target_name to dbt_prod --- models/staging/exchange/stg_exchange__company_addresses.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/models/staging/exchange/stg_exchange__company_addresses.sql b/models/staging/exchange/stg_exchange__company_addresses.sql index 982c31c..af0853a 100644 --- a/models/staging/exchange/stg_exchange__company_addresses.sql +++ b/models/staging/exchange/stg_exchange__company_addresses.sql @@ -1,7 +1,7 @@ -- A flag indicator to determine whether to run a full_load or an incremental_load -- If user is a developer, a full load will be executed. --- If the target schema is set to 'prod', only an incremental load will be performed. -{% if target.name == 'prod' %}{% set one_month_incremental_flag = true %}{% else %}{% set one_month_incremental_flag = false %}{% endif %} +-- If the target schema is set to 'dbt_prod', only an incremental load will be performed. +{% if target.name == 'dbt_prod' %}{% set one_month_incremental_flag = true %}{% else %}{% set one_month_incremental_flag = false %}{% endif %} -- MODEL CONFIGURATION BLOCK {{