Skip to content

Commit

Permalink
Limited support of custom incremental strategies
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewshaver committed Nov 20, 2024
1 parent 3eaa421 commit e246958
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions website/docs/docs/build/incremental-strategy.md
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,12 @@ select * from {{ ref("some_model") }}

### Custom strategies

:::note limited support

Custom strategies are not currently suppored on the BigQuery and Spark adapters.

:::

Starting from dbt version 1.2 and onwards, users have an easier alternative to [creating an entirely new materialization](/guides/create-new-materializations). They define and use their own "custom" incremental strategies by:

1. Defining a macro named `get_incremental_STRATEGY_sql`. Note that `STRATEGY` is a placeholder and you should replace it with the name of your custom incremental strategy.
Expand Down

0 comments on commit e246958

Please sign in to comment.