Skip to content

Commit

Permalink
Update incremental.sql
Browse files Browse the repository at this point in the history
  • Loading branch information
borjavb committed Jan 8, 2025
1 parent 0e8d5a9 commit 942968c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dbt/include/bigquery/macros/materializations/incremental.sql
Original file line number Diff line number Diff line change
Expand Up @@ -79,14 +79,14 @@
{%- set target_relation = this %}
{%- set existing_relation = load_relation(this) %}
{%- set temp_schema = config.get('temp_schema') -%}
{%- if temp_schema_suffix is not none-%}
{%- if temp_schema is not none-%}
{%- set temp_relation = this.incorporate(path={
"schema": temp_schema
}) -%}
{%- do create_schema(temp_relation) -%}
{% endif %}
{%- set tmp_relation = make_temp_relation(temp_relation) %}

{#-- Validate early so we don't run SQL if the strategy is invalid --#}
{% set strategy = dbt_bigquery_validate_get_incremental_strategy(config) -%}

Expand Down

0 comments on commit 942968c

Please sign in to comment.