Skip to content

Commit

Permalink
bugfix to handle full refresh correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
aosingh committed Jan 4, 2024
1 parent ff8b149 commit 63a50f2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
{% materialization incremental, adapter='oracle', supported_languages=['sql', 'python'] %}

{% set unique_key = config.get('unique_key') %}
{% set full_refresh_mode = flags.FULL_REFRESH %}
{% set full_refresh_mode = should_full_refresh() %}
{%- set language = model['language'] -%}
{% set target_relation = this.incorporate(type='table') %}
{% set existing_relation = load_relation(this) %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
config(
materialized='incremental',
unique_key='group_id',
full_refresh=false,
parallel=4,
table_compression_clause='COLUMN STORE COMPRESS FOR QUERY LOW')
}}
Expand Down

0 comments on commit 63a50f2

Please sign in to comment.