Skip to content

Commit

Permalink
Back to the layout which *should* work
Browse files Browse the repository at this point in the history
  • Loading branch information
alanmcruickshank committed Mar 20, 2022
1 parent 71cf280 commit a664b11
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions models/incremental/fct_dbt__seed_executions.sql
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ seed_executions_incremental as (
select *
from node_executions
where resource_type = 'seed'
{% if is_incremental() %}
-- this filter will only be applied on an incremental run
and coalesce(artifact_generated_at > (select max(artifact_generated_at) from {{ this }}), true)
{% endif %}
{% if is_incremental() %}
-- this filter will only be applied on an incremental run
and coalesce(artifact_generated_at > (select max(artifact_generated_at) from {{ this }}), true)
{% endif %}

),

Expand Down
8 changes: 4 additions & 4 deletions models/incremental/fct_dbt__snapshot_executions.sql
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ snapshot_executions_incremental as (
select *
from node_executions
where resource_type = 'snapshot'
{% if is_incremental() %}
-- this filter will only be applied on an incremental run
and coalesce(artifact_generated_at > (select max(artifact_generated_at) from {{ this }}), true)
{% endif %}
{% if is_incremental() %}
-- this filter will only be applied on an incremental run
and coalesce(artifact_generated_at > (select max(artifact_generated_at) from {{ this }}), true)
{% endif %}

),

Expand Down

0 comments on commit a664b11

Please sign in to comment.