Skip to content

Commit

Permalink
Update dbt/include/fabric/macros/materializations/models/incremental/…
Browse files Browse the repository at this point in the history
…incremental.sql

Co-authored-by: Jeremy Cohen <[email protected]>
  • Loading branch information
prdpsvs and jtcohen6 authored May 30, 2024
1 parent 59e81b8 commit f172f8c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

{%- set full_refresh_mode = (should_full_refresh()) -%}
{% set target_relation = this.incorporate(type='table') %}
{%- set relation = adapter.get_relation(database=this.database, schema=this.schema, identifier=this.identifier) -%}
{%- set relation = load_cached_relation(this) -%}

{%- set existing_relation = none %}
{% if (relation.type == target_relation.type) and (relation.identifier == target_relation.identifier) and (relation.schema == target_relation.schema) and (relation.database == target_relation.database) %}
Expand Down

0 comments on commit f172f8c

Please sign in to comment.