From 247c5ba3c5962775bb8eb4d512b4d713d61eb8e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mayra=20Pe=C3=B1a?= Date: Wed, 20 Nov 2024 13:00:44 -0800 Subject: [PATCH] Delete files --- .../models/L2_core/noel_avg_by_grade.sql | 21 ------------------- .../models/L2_core/noel_avg_by_grade.yml | 9 -------- 2 files changed, 30 deletions(-) delete mode 100644 transform/models/L2_core/noel_avg_by_grade.sql delete mode 100644 transform/models/L2_core/noel_avg_by_grade.yml diff --git a/transform/models/L2_core/noel_avg_by_grade.sql b/transform/models/L2_core/noel_avg_by_grade.sql deleted file mode 100644 index 58ccaae..0000000 --- a/transform/models/L2_core/noel_avg_by_grade.sql +++ /dev/null @@ -1,21 +0,0 @@ -with raw_source as ( - - select * from {{ ref('stg_noel_noel_source') }} - - -), - -final as ( - - select - grade as grades, - avg(loan_amnt) as avg_loan_amount, - count(*) as total_loans - from raw_source - where loan_status = 'Fully Paid' - group by grade - order by grade - -) - -select * from final diff --git a/transform/models/L2_core/noel_avg_by_grade.yml b/transform/models/L2_core/noel_avg_by_grade.yml deleted file mode 100644 index 4f1abf8..0000000 --- a/transform/models/L2_core/noel_avg_by_grade.yml +++ /dev/null @@ -1,9 +0,0 @@ -version: 2 - -models: - - name: noel_avg_by_grade - description: 'my model' - columns: - - name: grades - - name: avg_loan_amount - - name: total_loans