Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
alanmcruickshank committed Mar 20, 2022
1 parent 3543947 commit 71cf280
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
9 changes: 4 additions & 5 deletions models/incremental/fct_dbt__seed_executions.sql
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +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
9 changes: 4 additions & 5 deletions models/incremental/fct_dbt__snapshot_executions.sql
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +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 71cf280

Please sign in to comment.