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