Skip to content
This repository was archived by the owner on Sep 2, 2025. It is now read-only.

Commit 942968c

Browse files
committed
Update incremental.sql
1 parent 0e8d5a9 commit 942968c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dbt/include/bigquery/macros/materializations/incremental.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,14 +79,14 @@
7979
{%- set target_relation = this %}
8080
{%- set existing_relation = load_relation(this) %}
8181
{%- set temp_schema = config.get('temp_schema') -%}
82-
{%- if temp_schema_suffix is not none-%}
82+
{%- if temp_schema is not none-%}
8383
{%- set temp_relation = this.incorporate(path={
8484
"schema": temp_schema
8585
}) -%}
8686
{%- do create_schema(temp_relation) -%}
8787
{% endif %}
8888
{%- set tmp_relation = make_temp_relation(temp_relation) %}
89-
89+
9090
{#-- Validate early so we don't run SQL if the strategy is invalid --#}
9191
{% set strategy = dbt_bigquery_validate_get_incremental_strategy(config) -%}
9292

0 commit comments

Comments
 (0)