From 3dbeaf0575140cb1c9a98b1f7c8e1680db5a8ce2 Mon Sep 17 00:00:00 2001 From: Pablo Martin Date: Mon, 7 Oct 2024 14:16:37 +0200 Subject: [PATCH] reporting model for athena --- .../reporting/athena/athena__verification_fees.sql | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 models/reporting/athena/athena__verification_fees.sql diff --git a/models/reporting/athena/athena__verification_fees.sql b/models/reporting/athena/athena__verification_fees.sql new file mode 100644 index 0000000..1c9e9e1 --- /dev/null +++ b/models/reporting/athena/athena__verification_fees.sql @@ -0,0 +1,14 @@ +with + int_athena__verifications_with_fees as ( + select * from {{ ref("int_athena__verifications_with_fees") }} + ) + +select + avf.id_verification as id_verification, + avf.id_booking as id_booking, + avf.verification_status as verification_status, + avf.is_cancelled as is_cancelled, + avf.ok_status_fee_in_gbp as ok_status_fee_in_gbp, + avf.created_date_utc as created_date_utc, + avf.checkout_date_utc as checkout_date_utc +from int_athena__verifications_with_fees avf