From 7565deaf079898cbbb65328d69e70734e3b79ef1 Mon Sep 17 00:00:00 2001 From: Adrian Burus Date: Tue, 17 Dec 2024 15:39:41 +0200 Subject: [PATCH] Trim trailing whitespace --- .../macros/materializations/snapshots/snapshot_merge.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbt/include/global_project/macros/materializations/snapshots/snapshot_merge.sql b/dbt/include/global_project/macros/materializations/snapshots/snapshot_merge.sql index 2ecece09..2d10d153 100644 --- a/dbt/include/global_project/macros/materializations/snapshots/snapshot_merge.sql +++ b/dbt/include/global_project/macros/materializations/snapshots/snapshot_merge.sql @@ -16,7 +16,7 @@ when matched {% if config.get("dbt_valid_to_current") %} and {{ adapter.dispatch('equals', 'dbt')(DBT_INTERNAL_DEST.{{ columns.dbt_valid_to }}, {{ config.get('dbt_valid_to_current') }}) }} - + {% else %} and DBT_INTERNAL_DEST.{{ columns.dbt_valid_to }} is null {% endif %}