Changed it to basic model
This commit is contained in:
parent
a4dc798f86
commit
5892fe7cbb
2 changed files with 23 additions and 26 deletions
|
|
@ -2767,22 +2767,13 @@ models:
|
|||
data_type: integer
|
||||
description: |
|
||||
Integer-based flag version of total_bookings_with_product_bundle_with_paid_service.
|
||||
- name: int_core__edeposit_verifications
|
||||
|
||||
- name: int_edeposit__verifications
|
||||
description:
|
||||
"This table holds detailed data on revenue generated through e-deposit verifications.
|
||||
Each record provides insights into booking activities per user, including the number
|
||||
of bookings, cancellations, and associated fees within specific months. Each record
|
||||
captures data for bookings created in a particular month along with their corresponding
|
||||
checkout month, allowing for a comprehensive view of the booking lifecycle and associated
|
||||
revenues within those periods."
|
||||
tests:
|
||||
- dbt_utils.unique_combination_of_columns:
|
||||
combination_of_columns:
|
||||
- year_month_created
|
||||
- year_month_checkout
|
||||
- id_user
|
||||
- name: int__verifications
|
||||
description: ""
|
||||
"This table holds records on verifications for e-deposit bookings.
|
||||
It contains details on validations checked on the guests, guest information
|
||||
and some booking details like checkin-checkout date or the status of the verification.
|
||||
The id values found here are completely unrelated to the ones found in Core DWH."
|
||||
columns:
|
||||
- name: id_verification
|
||||
data_type: text
|
||||
|
|
@ -2806,21 +2797,30 @@ models:
|
|||
- name: version
|
||||
data_type: text
|
||||
description:
|
||||
"V1 for guesty verifications
|
||||
V2 fo e-deposit verifications"
|
||||
"value to identify if it is Guesty (V1) or E-deposit (V2)"
|
||||
tests:
|
||||
- accepted_values:
|
||||
values:
|
||||
- V1
|
||||
- V2
|
||||
|
||||
- name: verification_source
|
||||
data_type: text
|
||||
description:
|
||||
"source of the verification for the booking"
|
||||
tests:
|
||||
- accepted_values:
|
||||
values:
|
||||
- Guesty
|
||||
- Edeposit
|
||||
|
||||
- name: verification_status
|
||||
data_type: text
|
||||
description: "status of the verification"
|
||||
|
||||
- name: verification_status_reason
|
||||
data_type: text
|
||||
description: ""
|
||||
description: "short explanation for status"
|
||||
|
||||
- name: nightly_fee_local
|
||||
data_type: text
|
||||
|
|
@ -2830,9 +2830,6 @@ models:
|
|||
data_type: integer
|
||||
description: "number of nights for the booking"
|
||||
|
||||
- name: total_revenue
|
||||
data_type: double precision
|
||||
description: "total sum of fees charged"
|
||||
- name: email_flag
|
||||
data_type: text
|
||||
description: ""
|
||||
|
|
@ -2851,11 +2848,11 @@ models:
|
|||
|
||||
- name: checkin_at_utc
|
||||
data_type: timestamp without time zone
|
||||
description: ""
|
||||
description: "Timestamp of checkin for the booking"
|
||||
|
||||
- name: checkout_at_utc
|
||||
data_type: timestamp without time zone
|
||||
description: ""
|
||||
description: "Timestamp of checkout for the booking"
|
||||
|
||||
- name: is_cancelled
|
||||
data_type: boolean
|
||||
|
|
@ -2863,7 +2860,7 @@ models:
|
|||
|
||||
- name: cancelled_at_utc
|
||||
data_type: timestamp without time zone
|
||||
description: ""
|
||||
description: "Timestamp of cancellation of the booking"
|
||||
|
||||
- name: user_email
|
||||
data_type: text
|
||||
|
|
@ -2927,11 +2924,11 @@ models:
|
|||
|
||||
- name: status_updated_at_utc
|
||||
data_type: timestamp without time zone
|
||||
description: ""
|
||||
description: "Timestamp when status was last updated"
|
||||
|
||||
- name: updated_at_utc
|
||||
data_type: timestamp without time zone
|
||||
description: ""
|
||||
description: "Timestamp of last updated"
|
||||
|
||||
- name: creation_at_utc
|
||||
data_type: timestamp without time zone
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue