update schemas
This commit is contained in:
parent
fd3b67935b
commit
fcbaae1381
1 changed files with 116 additions and 4 deletions
|
|
@ -508,11 +508,123 @@ models:
|
|||
tests:
|
||||
- not_null
|
||||
|
||||
- name: int_core__mtd_booking_metrics
|
||||
- name: int_core__mtd_created_bookings_metric
|
||||
description: |
|
||||
This model contains the historic information regarding the bookings in an aggregated manner.
|
||||
It's used for the business KPIs. Data is aggregated at the last day of the month and in the
|
||||
days necessary for the Month-to-Date computation of the current month.
|
||||
This model contains the historic metric of bookings created by date. It's
|
||||
used for the business KPIs. Data is aggregated at the last day of the
|
||||
month and in the days necessary for the Month-to-Date computation of the
|
||||
current month.
|
||||
|
||||
tests:
|
||||
- dbt_utils.unique_combination_of_columns:
|
||||
combination_of_columns:
|
||||
- date
|
||||
- dimension
|
||||
- dimension_value
|
||||
|
||||
columns:
|
||||
- name: date
|
||||
data_type: date
|
||||
description: The date for the month-to-date booking-related metrics.
|
||||
tests:
|
||||
- not_null
|
||||
|
||||
- name: dimension
|
||||
data_type: string
|
||||
description: The dimension or granularity of the metrics.
|
||||
tests:
|
||||
- accepted_values:
|
||||
values:
|
||||
- global
|
||||
- by_number_of_listings
|
||||
- by_billing_country
|
||||
|
||||
- name: dimension_value
|
||||
data_type: string
|
||||
description: The value or segment available for the selected dimension.
|
||||
tests:
|
||||
- not_null
|
||||
|
||||
- name: int_core__mtd_check_out_bookings_metric
|
||||
description: |
|
||||
This model contains the historic metric of bookings checking out by date.
|
||||
It's used for the business KPIs. Data is aggregated at the last day of the
|
||||
month and in the days necessary for the Month-to-Date computation of the
|
||||
current month.
|
||||
|
||||
tests:
|
||||
- dbt_utils.unique_combination_of_columns:
|
||||
combination_of_columns:
|
||||
- date
|
||||
- dimension
|
||||
- dimension_value
|
||||
|
||||
columns:
|
||||
- name: date
|
||||
data_type: date
|
||||
description: The date for the month-to-date booking-related metrics.
|
||||
tests:
|
||||
- not_null
|
||||
|
||||
- name: dimension
|
||||
data_type: string
|
||||
description: The dimension or granularity of the metrics.
|
||||
tests:
|
||||
- accepted_values:
|
||||
values:
|
||||
- global
|
||||
- by_number_of_listings
|
||||
- by_billing_country
|
||||
|
||||
- name: dimension_value
|
||||
data_type: string
|
||||
description: The value or segment available for the selected dimension.
|
||||
tests:
|
||||
- not_null
|
||||
|
||||
- name: int_core__mtd_cancelled_bookings_metric
|
||||
description: |
|
||||
This model contains the historic metric of bookings cancelled by date.
|
||||
It's used for the business KPIs. Data is aggregated at the last day of the
|
||||
month and in the days necessary for the Month-to-Date computation of the
|
||||
current month.
|
||||
|
||||
tests:
|
||||
- dbt_utils.unique_combination_of_columns:
|
||||
combination_of_columns:
|
||||
- date
|
||||
- dimension
|
||||
- dimension_value
|
||||
|
||||
columns:
|
||||
- name: date
|
||||
data_type: date
|
||||
description: The date for the month-to-date booking-related metrics.
|
||||
tests:
|
||||
- not_null
|
||||
|
||||
- name: dimension
|
||||
data_type: string
|
||||
description: The dimension or granularity of the metrics.
|
||||
tests:
|
||||
- accepted_values:
|
||||
values:
|
||||
- global
|
||||
- by_number_of_listings
|
||||
- by_billing_country
|
||||
|
||||
- name: dimension_value
|
||||
data_type: string
|
||||
description: The value or segment available for the selected dimension.
|
||||
tests:
|
||||
- not_null
|
||||
|
||||
- name: int_core__mtd_billable_bookings_metric
|
||||
description: |
|
||||
This model contains the historic metric of bookings billed by date.
|
||||
It's used for the business KPIs. Data is aggregated at the last day of the
|
||||
month and in the days necessary for the Month-to-Date computation of the
|
||||
current month.
|
||||
|
||||
tests:
|
||||
- dbt_utils.unique_combination_of_columns:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue