Skip to content

Commit

Permalink
- Fixed SQL column orders for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mescanne committed Aug 14, 2024
1 parent 2cf7c0d commit 6e3ebb0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ SELECT
a.product_subcode,
a.cost_center,
a.days_delinquent,
a.date_opened,
CASE
WHEN a.days_delinquent = 0 THEN '0'
WHEN a.days_delinquent BETWEEN 1 AND 29 THEN '1-29'
Expand All @@ -54,7 +53,8 @@ SELECT
CASE
WHEN p.account_number IS NOT NULL THEN TRUE
ELSE a.npl_flag
END AS npl_flag
END AS npl_flag,
a.date_opened

FROM unioned_data AS a
LEFT OUTER JOIN {{ ref('eph_provisions_at_reporting_month') }} AS p
Expand Down

0 comments on commit 6e3ebb0

Please sign in to comment.