change "tests:" to "data_tests:"
This commit is contained in:
parent
db1edf7a1c
commit
c3c628aec4
29 changed files with 1565 additions and 1565 deletions
|
|
@ -15,7 +15,7 @@ models:
|
|||
- has_id_check,
|
||||
- main_billing_country_iso_3_per_deal.
|
||||
|
||||
tests:
|
||||
data_tests:
|
||||
- dbt_utils.unique_combination_of_columns:
|
||||
combination_of_columns:
|
||||
- date_day
|
||||
|
|
@ -27,13 +27,13 @@ models:
|
|||
- name: date_day
|
||||
data_type: date
|
||||
description: "Date of when Guest Journeys have been completed."
|
||||
tests:
|
||||
data_tests:
|
||||
- not_null
|
||||
|
||||
- name: date_week
|
||||
data_type: string
|
||||
description: "Week number of when Guest Journeys have been completed."
|
||||
tests:
|
||||
data_tests:
|
||||
- not_null
|
||||
|
||||
- name: py_date_day
|
||||
|
|
@ -45,7 +45,7 @@ models:
|
|||
- name: has_payment
|
||||
data_type: string
|
||||
description: Has there been any guest payments on the guest journey.
|
||||
tests:
|
||||
data_tests:
|
||||
- not_null
|
||||
- accepted_values:
|
||||
values:
|
||||
|
|
@ -56,7 +56,7 @@ models:
|
|||
data_type: string
|
||||
description: Does the verification in the guest journey
|
||||
includes Government Id Check for the bookings.
|
||||
tests:
|
||||
data_tests:
|
||||
- not_null
|
||||
- accepted_values:
|
||||
values:
|
||||
|
|
@ -67,7 +67,7 @@ models:
|
|||
data_type: string
|
||||
description: |
|
||||
Main billing country of the host.
|
||||
tests:
|
||||
data_tests:
|
||||
- not_null
|
||||
|
||||
- name: created_guest_journeys_not_cancelled
|
||||
|
|
@ -75,7 +75,7 @@ models:
|
|||
description: |
|
||||
Count of daily guest journeys created, excluding cancelled bookings,
|
||||
in a given date and per specified dimension.
|
||||
tests:
|
||||
data_tests:
|
||||
- kpis_daily_outlier_detector:
|
||||
column_name: created_guest_journeys_not_cancelled
|
||||
date_column: date_day
|
||||
|
|
@ -85,7 +85,7 @@ models:
|
|||
description: |
|
||||
Count of daily guest journeys started, excluding cancelled bookings,
|
||||
in a given date and per specified dimension.
|
||||
tests:
|
||||
data_tests:
|
||||
- kpis_daily_outlier_detector:
|
||||
column_name: started_guest_journeys_not_cancelled
|
||||
date_column: date_day
|
||||
|
|
@ -95,7 +95,7 @@ models:
|
|||
description: |
|
||||
Count of daily guest journeys completed, excluding cancelled bookings,
|
||||
in a given date and per specified dimension.
|
||||
tests:
|
||||
data_tests:
|
||||
- kpis_daily_outlier_detector:
|
||||
column_name: completed_guest_journeys_not_cancelled
|
||||
date_column: date_day
|
||||
|
|
@ -105,7 +105,7 @@ models:
|
|||
description: |
|
||||
Count of daily guest journeys created in a given date and
|
||||
per specified dimension.
|
||||
tests:
|
||||
data_tests:
|
||||
- kpis_daily_outlier_detector:
|
||||
column_name: created_guest_journeys
|
||||
date_column: date_day
|
||||
|
|
@ -115,7 +115,7 @@ models:
|
|||
description: |
|
||||
Count of daily guest journeys started in a given date and
|
||||
per specified dimension.
|
||||
tests:
|
||||
data_tests:
|
||||
- kpis_daily_outlier_detector:
|
||||
column_name: started_guest_journeys
|
||||
date_column: date_day
|
||||
|
|
@ -125,7 +125,7 @@ models:
|
|||
description: |
|
||||
Count of daily guest journeys completed in a given date and
|
||||
per specified dimension.
|
||||
tests:
|
||||
data_tests:
|
||||
- kpis_daily_outlier_detector:
|
||||
column_name: completed_guest_journeys
|
||||
date_column: date_day
|
||||
|
|
@ -135,7 +135,7 @@ models:
|
|||
description: |
|
||||
Count of daily guest journeys with CSAT (customer satisfaction score)
|
||||
in a given date and per specified dimension.
|
||||
tests:
|
||||
data_tests:
|
||||
- kpis_daily_outlier_detector:
|
||||
column_name: total_csat_score_count
|
||||
date_column: date_day
|
||||
|
|
@ -150,7 +150,7 @@ models:
|
|||
description: |
|
||||
Sum of deposit fees paid by guests, without taxes, in GBP
|
||||
in a given date and per specified dimension.
|
||||
tests:
|
||||
data_tests:
|
||||
- kpis_daily_outlier_detector:
|
||||
column_name: deposit_fees_in_gbp
|
||||
date_column: date_day
|
||||
|
|
@ -160,7 +160,7 @@ models:
|
|||
description: |
|
||||
Sum of waiver payments paid by guests, without taxes, in GBP
|
||||
in a given date and per specified dimension.
|
||||
tests:
|
||||
data_tests:
|
||||
- kpis_daily_outlier_detector:
|
||||
column_name: waiver_payments_in_gbp
|
||||
date_column: date_day
|
||||
|
|
@ -170,7 +170,7 @@ models:
|
|||
description: |
|
||||
Sum of checkin cover fees paid by guests, without taxes, in GBP
|
||||
in a given date and per specified dimension.
|
||||
tests:
|
||||
data_tests:
|
||||
- kpis_daily_outlier_detector:
|
||||
column_name: checkin_cover_fees_in_gbp
|
||||
date_column: date_day
|
||||
|
|
@ -180,7 +180,7 @@ models:
|
|||
description: |
|
||||
Sum of total payments paid by guests, without taxes, in GBP
|
||||
in a given date and per specified dimension.
|
||||
tests:
|
||||
data_tests:
|
||||
- kpis_daily_outlier_detector:
|
||||
column_name: total_guest_payments_in_gbp
|
||||
date_column: date_day
|
||||
|
|
@ -263,7 +263,7 @@ models:
|
|||
of time granularity, dimension, dimension value and list of metrics
|
||||
with their value.
|
||||
|
||||
tests:
|
||||
data_tests:
|
||||
- dbt_utils.unique_combination_of_columns:
|
||||
combination_of_columns:
|
||||
- date
|
||||
|
|
@ -277,13 +277,13 @@ models:
|
|||
description: |
|
||||
The end date of the time range specified in the time_granularity
|
||||
for the dimension, dimension_value and metrics in this record.
|
||||
tests:
|
||||
data_tests:
|
||||
- not_null
|
||||
|
||||
- name: time_granularity
|
||||
data_type: string
|
||||
description: The time dimension.
|
||||
tests:
|
||||
data_tests:
|
||||
- accepted_values:
|
||||
values:
|
||||
- Daily
|
||||
|
|
@ -293,7 +293,7 @@ models:
|
|||
- name: dimension
|
||||
data_type: string
|
||||
description: The dimension or granularity of the metrics.
|
||||
tests:
|
||||
data_tests:
|
||||
- accepted_values:
|
||||
values:
|
||||
- "Global"
|
||||
|
|
@ -308,7 +308,7 @@ models:
|
|||
- name: dimension_value
|
||||
data_type: string
|
||||
description: The value or segment available for the selected dimension.
|
||||
tests:
|
||||
data_tests:
|
||||
- not_null
|
||||
|
||||
- name: created_services
|
||||
|
|
@ -368,7 +368,7 @@ models:
|
|||
- name: has_payment
|
||||
data_type: string
|
||||
description: Has there been any guest payments on the guest journey.
|
||||
tests:
|
||||
data_tests:
|
||||
- not_null
|
||||
- accepted_values:
|
||||
values:
|
||||
|
|
@ -379,7 +379,7 @@ models:
|
|||
data_type: string
|
||||
description: Does the verification in the guest journey
|
||||
includes Government Id Check for the bookings.
|
||||
tests:
|
||||
data_tests:
|
||||
- not_null
|
||||
- accepted_values:
|
||||
values:
|
||||
|
|
@ -390,7 +390,7 @@ models:
|
|||
data_type: string
|
||||
description: |
|
||||
Main billing country of the host aggregated at Deal level.
|
||||
tests:
|
||||
data_tests:
|
||||
- not_null
|
||||
|
||||
- name: timeframe
|
||||
|
|
@ -398,7 +398,7 @@ models:
|
|||
description: |
|
||||
Timeframe considered for the aggregation, it could be Year-to-date,
|
||||
Month-to-date or Week-to-date
|
||||
tests:
|
||||
data_tests:
|
||||
- not_null
|
||||
- accepted_values:
|
||||
values:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue