From 71cf2805661e366799b485f3c7c27a65e95709c0 Mon Sep 17 00:00:00 2001 From: Alan Date: Sun, 20 Mar 2022 15:49:41 +0000 Subject: [PATCH] Fix linting --- models/incremental/fct_dbt__seed_executions.sql | 9 ++++----- models/incremental/fct_dbt__snapshot_executions.sql | 9 ++++----- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/models/incremental/fct_dbt__seed_executions.sql b/models/incremental/fct_dbt__seed_executions.sql index f48aa5d5..fe53f037 100644 --- a/models/incremental/fct_dbt__seed_executions.sql +++ b/models/incremental/fct_dbt__seed_executions.sql @@ -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 %} ), diff --git a/models/incremental/fct_dbt__snapshot_executions.sql b/models/incremental/fct_dbt__snapshot_executions.sql index 43193c66..a7d16c0d 100644 --- a/models/incremental/fct_dbt__snapshot_executions.sql +++ b/models/incremental/fct_dbt__snapshot_executions.sql @@ -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 %} ),