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 17, 2025
1 parent e26a05f commit 5893789
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 @@ -30,7 +30,7 @@
{% set wrong_fn -%}
The 'incremental_substrategy' option has to be either 'merge' (default), 'delete+insert' or 'copy_partitions'.
{%- endset %}
{% do exceptions.raise_compiler_error(wrong_strategy_msg) %}
{% do exceptions.raise_compiler_error(wrong_fn) %}
{% endif %}
{% elif incremental_substrategy is not none%}
{% set wrong_strategy_msg -%}
Expand Down Expand Up @@ -176,7 +176,7 @@
{% endif %}

{% set build_sql = bq_generate_incremental_build_sql(
strategy, tmp_relation, target_relation, compiled_code, unique_key, partition_by, partitions, dest_columns, tmp_relation_exists, incremental_substrategy,
strategy, tmp_relation, target_relation, compiled_code, unique_key, partition_by, partitions, dest_columns, tmp_relation_exists, incremental_substrategy, incremental_predicates
) %}

{%- call statement('main') -%}
Expand Down

0 comments on commit 5893789

Please sign in to comment.