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

Commit 5893789

Browse files
committed
Update incremental.sql
1 parent e26a05f commit 5893789

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
@@ -30,7 +30,7 @@
3030
{% set wrong_fn -%}
3131
The 'incremental_substrategy' option has to be either 'merge' (default), 'delete+insert' or 'copy_partitions'.
3232
{%- endset %}
33-
{% do exceptions.raise_compiler_error(wrong_strategy_msg) %}
33+
{% do exceptions.raise_compiler_error(wrong_fn) %}
3434
{% endif %}
3535
{% elif incremental_substrategy is not none%}
3636
{% set wrong_strategy_msg -%}
@@ -176,7 +176,7 @@
176176
{% endif %}
177177

178178
{% set build_sql = bq_generate_incremental_build_sql(
179-
strategy, tmp_relation, target_relation, compiled_code, unique_key, partition_by, partitions, dest_columns, tmp_relation_exists, incremental_substrategy,
179+
strategy, tmp_relation, target_relation, compiled_code, unique_key, partition_by, partitions, dest_columns, tmp_relation_exists, incremental_substrategy, incremental_predicates
180180
) %}
181181

182182
{%- call statement('main') -%}

0 commit comments

Comments
 (0)