Commit saved model

This commit is contained in:
Joaquin Ossa 2024-11-09 15:21:20 +01:00
parent 98ba74481a
commit eec21fe5da
4 changed files with 115 additions and 75 deletions

View file

@ -1957,16 +1957,6 @@ models:
tests:
- not_null
- name: has_payment
data_type: string
description: Has there been any guest payments on the guest journey.
tests:
- not_null
- accepted_values:
values:
- W/O Payment
- With Payment
- name: has_id_check
data_type: string
description: Does the verification in the guest journey
@ -5792,7 +5782,7 @@ models:
description: |
Count of listings booked within the past 12 months for a given date, dimension and value.
- name: int_kpis__dimension_daily_guest_product
- name: int_kpis__dimension_date_product_guest
description: |
This model computes a cross join of dates with all combinations of
guest products dimensions.
@ -5839,18 +5829,18 @@ models:
The unique key corresponds to the deepest granularity of the model,
in this case:
- date,
- date_day,
- id_deal,
- has_id_check.
tests:
- dbt_utils.unique_combination_of_columns:
combination_of_columns:
- date
- date_day
- has_payment
- has_id_check
columns:
- name: date
- name: date_day
data_type: date
description: "Date of when Guest Journeys have been completed."
tests:
@ -5948,73 +5938,73 @@ models:
Sum of total payments paid by guests, without taxes, in GBP
in a given date and per specified dimension.
- name: created_guest_journeys_not_cancelled_py
- name: py_created_guest_journeys_not_cancelled
data_type: bigint
description: |
Count of daily guest journeys created (excluding canceled bookings)
on the same date in the previous year, segmented by the specified dimension.
- name: started_guest_journeys_not_cancelled_py
- name: py_started_guest_journeys_not_cancelled
data_type: bigint
description: |
Count of daily guest journeys started (excluding canceled bookings)
on the same date in the previous year, segmented by the specified dimension.
- name: completed_guest_journeys_not_cancelled_py
- name: py_completed_guest_journeys_not_cancelled
data_type: bigint
description: |
Count of daily guest journeys completed (excluding canceled bookings)
on the same date in the previous year, segmented by the specified dimension.
- name: created_guest_journeys_py
- name: py_created_guest_journeys
data_type: bigint
description: |
Count of daily guest journeys created on the same date in the previous year,
segmented by the specified dimension.
- name: started_guest_journeys_py
- name: py_started_guest_journeys
data_type: bigint
description: |
Count of daily guest journeys started on the same date in the previous year,
segmented by the specified dimension.
- name: completed_guest_journeys_py
- name: py_completed_guest_journeys
data_type: bigint
description: |
Count of daily guest journeys completed on the same date in the previous year,
segmented by the specified dimension.
- name: count_csat_score_py
- name: py_count_csat_score
data_type: bigint
description: |
Count of daily guest journeys with CSAT (customer satisfaction score)
on the same date in the previous year, segmented by the specified dimension.
- name: average_csat_score_py
- name: py_average_csat_score
data_type: bigint
description: |
Average daily CSAT score on the same date in the previous year,
segmented by the specified dimension.
- name: deposit_fees_in_gbp_py
- name: py_deposit_fees_in_gbp
data_type: decimal
description: |
Sum of deposit fees paid by guests, excluding taxes, in GBP
on the same date in the previous year, segmented by the specified dimension.
- name: waiver_payments_in_gbp_py
- name: py_waiver_payments_in_gbp
data_type: decimal
description: |
Sum of waiver payments paid by guests, excluding taxes, in GBP
on the same date in the previous year, segmented by the specified dimension.
- name: checkin_cover_fees_in_gbp_py
- name: py_checkin_cover_fees_in_gbp
data_type: decimal
description: |
Sum of check-in cover fees paid by guests, excluding taxes, in GBP
on the same date in the previous year, segmented by the specified dimension.
- name: total_guest_payments_in_gbp_py
- name: py_total_guest_payments_in_gbp
data_type: decimal
description: |
Sum of total payments paid by guests, excluding taxes, in GBP