diff --git a/models/incremental/fct_dbt__seed_executions.sql b/models/incremental/fct_dbt__seed_executions.sql index fe53f037..8fdaa722 100644 --- a/models/incremental/fct_dbt__seed_executions.sql +++ b/models/incremental/fct_dbt__seed_executions.sql @@ -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 %} ), diff --git a/models/incremental/fct_dbt__snapshot_executions.sql b/models/incremental/fct_dbt__snapshot_executions.sql index a7d16c0d..205cdd73 100644 --- a/models/incremental/fct_dbt__snapshot_executions.sql +++ b/models/incremental/fct_dbt__snapshot_executions.sql @@ -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 %} ),