Merged PR 4352: Bulk update dash_source to business_scope
# Description Changes: * Switches dash_source to business_scope in all kpis models, schema and macro configuration. # Checklist - [X] The edited models and dependants run properly with production data. - [X] The edited models are sufficiently documented. - [X] The edited models contain PK tests, and I've ran and passed them. - [X] I have checked for DRY opportunities with other models and docs. - [X] I've picked the right materialization for the affected models. # Other - [ ] Check if a full-refresh is required after this PR is merged. Related work items: #27356
This commit is contained in:
parent
4f2a34427f
commit
78707ef649
23 changed files with 231 additions and 164 deletions
|
|
@ -566,14 +566,14 @@ models:
|
|||
in this case:
|
||||
- date,
|
||||
- id_deal,
|
||||
- dash_source.
|
||||
- business_scope.
|
||||
|
||||
data_tests:
|
||||
- dbt_utils.unique_combination_of_columns:
|
||||
combination_of_columns:
|
||||
- date
|
||||
- id_deal
|
||||
- dash_source
|
||||
- business_scope
|
||||
|
||||
columns:
|
||||
- name: date
|
||||
|
|
@ -588,15 +588,18 @@ models:
|
|||
data_tests:
|
||||
- not_null
|
||||
|
||||
- name: dash_source
|
||||
- name: business_scope
|
||||
data_type: string
|
||||
description: Dashboard source, either old or new.
|
||||
description: |
|
||||
Business scope identifying the metric source.
|
||||
data_tests:
|
||||
- not_null
|
||||
- accepted_values:
|
||||
values:
|
||||
- "New Dash"
|
||||
- "Old Dash"
|
||||
- "New Dash"
|
||||
- "API"
|
||||
- "UNSET"
|
||||
|
||||
- name: active_accommodations_per_deal_segmentation
|
||||
data_type: string
|
||||
|
|
@ -649,7 +652,7 @@ models:
|
|||
The unique key corresponds to:
|
||||
- end_date,
|
||||
- id_deal,
|
||||
- dash_source,
|
||||
- business_scope,
|
||||
- active_accommodations_per_deal_segmentation.
|
||||
|
||||
data_tests:
|
||||
|
|
@ -657,7 +660,7 @@ models:
|
|||
combination_of_columns:
|
||||
- end_date
|
||||
- id_deal
|
||||
- dash_source
|
||||
- business_scope
|
||||
- active_accommodations_per_deal_segmentation
|
||||
|
||||
columns:
|
||||
|
|
@ -681,15 +684,18 @@ models:
|
|||
data_tests:
|
||||
- not_null
|
||||
|
||||
- name: dash_source
|
||||
- name: business_scope
|
||||
data_type: string
|
||||
description: Dashboard source, either old or new.
|
||||
description: |
|
||||
Business scope identifying the metric source.
|
||||
data_tests:
|
||||
- not_null
|
||||
- accepted_values:
|
||||
values:
|
||||
- "New Dash"
|
||||
- "Old Dash"
|
||||
- "New Dash"
|
||||
- "API"
|
||||
- "UNSET"
|
||||
|
||||
- name: active_accommodations_per_deal_segmentation
|
||||
data_type: string
|
||||
|
|
@ -743,7 +749,7 @@ models:
|
|||
The unique key corresponds to:
|
||||
- end_date,
|
||||
- id_deal,
|
||||
- dash_source,
|
||||
- business_scope,
|
||||
- active_accommodations_per_deal_segmentation.
|
||||
|
||||
data_tests:
|
||||
|
|
@ -751,7 +757,7 @@ models:
|
|||
combination_of_columns:
|
||||
- end_date
|
||||
- id_deal
|
||||
- dash_source
|
||||
- business_scope
|
||||
- active_accommodations_per_deal_segmentation
|
||||
|
||||
columns:
|
||||
|
|
@ -775,15 +781,18 @@ models:
|
|||
data_tests:
|
||||
- not_null
|
||||
|
||||
- name: dash_source
|
||||
- name: business_scope
|
||||
data_type: string
|
||||
description: Dashboard source, either old or new.
|
||||
description: |
|
||||
Business scope identifying the metric source.
|
||||
data_tests:
|
||||
- not_null
|
||||
- accepted_values:
|
||||
values:
|
||||
- "New Dash"
|
||||
- "Old Dash"
|
||||
- "New Dash"
|
||||
- "API"
|
||||
- "UNSET"
|
||||
|
||||
- name: active_accommodations_per_deal_segmentation
|
||||
data_type: string
|
||||
|
|
@ -870,7 +879,7 @@ models:
|
|||
- global
|
||||
- by_number_of_listings
|
||||
- by_billing_country
|
||||
- by_dash_source
|
||||
- by_business_scope
|
||||
- by_deal
|
||||
|
||||
- name: dimension_value
|
||||
|
|
@ -942,7 +951,7 @@ models:
|
|||
- global
|
||||
- by_number_of_listings
|
||||
- by_billing_country
|
||||
- by_dash_source
|
||||
- by_business_scope
|
||||
- by_deal
|
||||
|
||||
- name: dimension_value
|
||||
|
|
@ -978,14 +987,14 @@ models:
|
|||
in this case:
|
||||
- date,
|
||||
- id_deal,
|
||||
- dash_source
|
||||
- business_scope
|
||||
|
||||
data_tests:
|
||||
- dbt_utils.unique_combination_of_columns:
|
||||
combination_of_columns:
|
||||
- date
|
||||
- id_deal
|
||||
- dash_source
|
||||
- business_scope
|
||||
|
||||
columns:
|
||||
- name: date
|
||||
|
|
@ -1000,15 +1009,18 @@ models:
|
|||
data_tests:
|
||||
- not_null
|
||||
|
||||
- name: dash_source
|
||||
- name: business_scope
|
||||
data_type: string
|
||||
description: Dashboard source, either old or new.
|
||||
description: |
|
||||
Business scope identifying the metric source.
|
||||
data_tests:
|
||||
- not_null
|
||||
- accepted_values:
|
||||
values:
|
||||
- "New Dash"
|
||||
- "Old Dash"
|
||||
- "New Dash"
|
||||
- "API"
|
||||
- "UNSET"
|
||||
|
||||
- name: active_accommodations_per_deal_segmentation
|
||||
data_type: string
|
||||
|
|
@ -1049,7 +1061,7 @@ models:
|
|||
The unique key corresponds to:
|
||||
- end_date,
|
||||
- id_deal,
|
||||
- dash_source,
|
||||
- business_scope,
|
||||
- active_accommodations_per_deal_segmentation.
|
||||
|
||||
data_tests:
|
||||
|
|
@ -1057,7 +1069,7 @@ models:
|
|||
combination_of_columns:
|
||||
- end_date
|
||||
- id_deal
|
||||
- dash_source
|
||||
- business_scope
|
||||
- active_accommodations_per_deal_segmentation
|
||||
|
||||
columns:
|
||||
|
|
@ -1081,15 +1093,18 @@ models:
|
|||
data_tests:
|
||||
- not_null
|
||||
|
||||
- name: dash_source
|
||||
- name: business_scope
|
||||
data_type: string
|
||||
description: Dashboard source, either old or new.
|
||||
description: |
|
||||
Business scope identifying the metric source.
|
||||
data_tests:
|
||||
- not_null
|
||||
- accepted_values:
|
||||
values:
|
||||
- "New Dash"
|
||||
- "Old Dash"
|
||||
- "New Dash"
|
||||
- "API"
|
||||
- "UNSET"
|
||||
|
||||
- name: active_accommodations_per_deal_segmentation
|
||||
data_type: string
|
||||
|
|
@ -1131,7 +1146,7 @@ models:
|
|||
The unique key corresponds to:
|
||||
- end_date,
|
||||
- id_deal,
|
||||
- dash_source,
|
||||
- business_scope,
|
||||
- active_accommodations_per_deal_segmentation.
|
||||
|
||||
data_tests:
|
||||
|
|
@ -1139,7 +1154,7 @@ models:
|
|||
combination_of_columns:
|
||||
- end_date
|
||||
- id_deal
|
||||
- dash_source
|
||||
- business_scope
|
||||
- active_accommodations_per_deal_segmentation
|
||||
|
||||
columns:
|
||||
|
|
@ -1163,15 +1178,18 @@ models:
|
|||
data_tests:
|
||||
- not_null
|
||||
|
||||
- name: dash_source
|
||||
- name: business_scope
|
||||
data_type: string
|
||||
description: Dashboard source, either old or new.
|
||||
description: |
|
||||
Business scope identifying the metric source.
|
||||
data_tests:
|
||||
- not_null
|
||||
- accepted_values:
|
||||
values:
|
||||
- "New Dash"
|
||||
- "Old Dash"
|
||||
- "New Dash"
|
||||
- "API"
|
||||
- "UNSET"
|
||||
|
||||
- name: active_accommodations_per_deal_segmentation
|
||||
data_type: string
|
||||
|
|
@ -1244,7 +1262,7 @@ models:
|
|||
- global
|
||||
- by_number_of_listings
|
||||
- by_billing_country
|
||||
- by_dash_source
|
||||
- by_business_scope
|
||||
- by_deal
|
||||
|
||||
- name: dimension_value
|
||||
|
|
@ -1299,7 +1317,7 @@ models:
|
|||
- global
|
||||
- by_number_of_listings
|
||||
- by_billing_country
|
||||
- by_dash_source
|
||||
- by_business_scope
|
||||
- by_deal
|
||||
|
||||
- name: dimension_value
|
||||
|
|
@ -1320,14 +1338,14 @@ models:
|
|||
in this case:
|
||||
- date,
|
||||
- id_deal,
|
||||
- dash_source
|
||||
- business_scope
|
||||
|
||||
data_tests:
|
||||
- dbt_utils.unique_combination_of_columns:
|
||||
combination_of_columns:
|
||||
- date
|
||||
- id_deal
|
||||
- dash_source
|
||||
- business_scope
|
||||
|
||||
columns:
|
||||
- name: date
|
||||
|
|
@ -1342,15 +1360,18 @@ models:
|
|||
data_tests:
|
||||
- not_null
|
||||
|
||||
- name: dash_source
|
||||
- name: business_scope
|
||||
data_type: string
|
||||
description: Dashboard source, either old or new.
|
||||
description: |
|
||||
Business scope identifying the metric source.
|
||||
data_tests:
|
||||
- not_null
|
||||
- accepted_values:
|
||||
values:
|
||||
- "New Dash"
|
||||
- "Old Dash"
|
||||
- "New Dash"
|
||||
- "API"
|
||||
- "UNSET"
|
||||
|
||||
- name: active_accommodations_per_deal_segmentation
|
||||
data_type: string
|
||||
|
|
@ -1391,7 +1412,7 @@ models:
|
|||
The unique key corresponds to:
|
||||
- end_date,
|
||||
- id_deal,
|
||||
- dash_source,
|
||||
- business_scope,
|
||||
- active_accommodations_per_deal_segmentation.
|
||||
|
||||
data_tests:
|
||||
|
|
@ -1399,7 +1420,7 @@ models:
|
|||
combination_of_columns:
|
||||
- end_date
|
||||
- id_deal
|
||||
- dash_source
|
||||
- business_scope
|
||||
- active_accommodations_per_deal_segmentation
|
||||
|
||||
columns:
|
||||
|
|
@ -1423,15 +1444,18 @@ models:
|
|||
data_tests:
|
||||
- not_null
|
||||
|
||||
- name: dash_source
|
||||
- name: business_scope
|
||||
data_type: string
|
||||
description: Dashboard source, either old or new.
|
||||
description: |
|
||||
Business scope identifying the metric source.
|
||||
data_tests:
|
||||
- not_null
|
||||
- accepted_values:
|
||||
values:
|
||||
- "New Dash"
|
||||
- "Old Dash"
|
||||
- "New Dash"
|
||||
- "API"
|
||||
- "UNSET"
|
||||
|
||||
- name: active_accommodations_per_deal_segmentation
|
||||
data_type: string
|
||||
|
|
@ -1473,7 +1497,7 @@ models:
|
|||
The unique key corresponds to:
|
||||
- end_date,
|
||||
- id_deal,
|
||||
- dash_source,
|
||||
- business_scope,
|
||||
- active_accommodations_per_deal_segmentation.
|
||||
|
||||
data_tests:
|
||||
|
|
@ -1481,7 +1505,7 @@ models:
|
|||
combination_of_columns:
|
||||
- end_date
|
||||
- id_deal
|
||||
- dash_source
|
||||
- business_scope
|
||||
- active_accommodations_per_deal_segmentation
|
||||
|
||||
columns:
|
||||
|
|
@ -1505,15 +1529,18 @@ models:
|
|||
data_tests:
|
||||
- not_null
|
||||
|
||||
- name: dash_source
|
||||
- name: business_scope
|
||||
data_type: string
|
||||
description: Dashboard source, either old or new.
|
||||
description: |
|
||||
Business scope identifying the metric source.
|
||||
data_tests:
|
||||
- not_null
|
||||
- accepted_values:
|
||||
values:
|
||||
- "New Dash"
|
||||
- "Old Dash"
|
||||
- "New Dash"
|
||||
- "API"
|
||||
- "UNSET"
|
||||
|
||||
- name: active_accommodations_per_deal_segmentation
|
||||
data_type: string
|
||||
|
|
@ -1586,7 +1613,7 @@ models:
|
|||
- global
|
||||
- by_number_of_listings
|
||||
- by_billing_country
|
||||
- by_dash_source
|
||||
- by_business_scope
|
||||
- by_deal
|
||||
|
||||
- name: dimension_value
|
||||
|
|
@ -1641,7 +1668,7 @@ models:
|
|||
- global
|
||||
- by_number_of_listings
|
||||
- by_billing_country
|
||||
- by_dash_source
|
||||
- by_business_scope
|
||||
- by_deal
|
||||
|
||||
- name: dimension_value
|
||||
|
|
@ -1662,14 +1689,14 @@ models:
|
|||
in this case:
|
||||
- date,
|
||||
- id_deal,
|
||||
- dash_source.
|
||||
- business_scope.
|
||||
|
||||
data_tests:
|
||||
- dbt_utils.unique_combination_of_columns:
|
||||
combination_of_columns:
|
||||
- date
|
||||
- id_deal
|
||||
- dash_source
|
||||
- business_scope
|
||||
|
||||
columns:
|
||||
- name: date
|
||||
|
|
@ -1684,15 +1711,18 @@ models:
|
|||
data_tests:
|
||||
- not_null
|
||||
|
||||
- name: dash_source
|
||||
- name: business_scope
|
||||
data_type: string
|
||||
description: Dashboard source, either old or new.
|
||||
description: |
|
||||
Business scope identifying the metric source.
|
||||
data_tests:
|
||||
- not_null
|
||||
- accepted_values:
|
||||
values:
|
||||
- "New Dash"
|
||||
- "Old Dash"
|
||||
- "New Dash"
|
||||
- "API"
|
||||
- "UNSET"
|
||||
|
||||
- name: active_accommodations_per_deal_segmentation
|
||||
data_type: string
|
||||
|
|
@ -1733,7 +1763,7 @@ models:
|
|||
The unique key corresponds to:
|
||||
- end_date,
|
||||
- id_deal,
|
||||
- dash_source,
|
||||
- business_scope,
|
||||
- active_accommodations_per_deal_segmentation.
|
||||
|
||||
data_tests:
|
||||
|
|
@ -1741,7 +1771,7 @@ models:
|
|||
combination_of_columns:
|
||||
- end_date
|
||||
- id_deal
|
||||
- dash_source
|
||||
- business_scope
|
||||
- active_accommodations_per_deal_segmentation
|
||||
|
||||
columns:
|
||||
|
|
@ -1765,15 +1795,18 @@ models:
|
|||
data_tests:
|
||||
- not_null
|
||||
|
||||
- name: dash_source
|
||||
- name: business_scope
|
||||
data_type: string
|
||||
description: Dashboard source, either old or new.
|
||||
description: |
|
||||
Business scope identifying the metric source.
|
||||
data_tests:
|
||||
- not_null
|
||||
- accepted_values:
|
||||
values:
|
||||
- "New Dash"
|
||||
- "Old Dash"
|
||||
- "New Dash"
|
||||
- "API"
|
||||
- "UNSET"
|
||||
|
||||
- name: active_accommodations_per_deal_segmentation
|
||||
data_type: string
|
||||
|
|
@ -1815,7 +1848,7 @@ models:
|
|||
The unique key corresponds to:
|
||||
- end_date,
|
||||
- id_deal,
|
||||
- dash_source,
|
||||
- business_scope,
|
||||
- active_accommodations_per_deal_segmentation.
|
||||
|
||||
data_tests:
|
||||
|
|
@ -1823,7 +1856,7 @@ models:
|
|||
combination_of_columns:
|
||||
- end_date
|
||||
- id_deal
|
||||
- dash_source
|
||||
- business_scope
|
||||
- active_accommodations_per_deal_segmentation
|
||||
|
||||
columns:
|
||||
|
|
@ -1847,15 +1880,18 @@ models:
|
|||
data_tests:
|
||||
- not_null
|
||||
|
||||
- name: dash_source
|
||||
- name: business_scope
|
||||
data_type: string
|
||||
description: Dashboard source, either old or new.
|
||||
description: |
|
||||
Business scope identifying the metric source.
|
||||
data_tests:
|
||||
- not_null
|
||||
- accepted_values:
|
||||
values:
|
||||
- "New Dash"
|
||||
- "Old Dash"
|
||||
- "New Dash"
|
||||
- "API"
|
||||
- "UNSET"
|
||||
|
||||
- name: active_accommodations_per_deal_segmentation
|
||||
data_type: string
|
||||
|
|
@ -1928,7 +1964,7 @@ models:
|
|||
- global
|
||||
- by_number_of_listings
|
||||
- by_billing_country
|
||||
- by_dash_source
|
||||
- by_business_scope
|
||||
- by_deal
|
||||
|
||||
- name: dimension_value
|
||||
|
|
@ -1983,7 +2019,7 @@ models:
|
|||
- global
|
||||
- by_number_of_listings
|
||||
- by_billing_country
|
||||
- by_dash_source
|
||||
- by_business_scope
|
||||
- by_deal
|
||||
|
||||
- name: dimension_value
|
||||
|
|
@ -2004,14 +2040,14 @@ models:
|
|||
in this case:
|
||||
- date,
|
||||
- id_deal,
|
||||
- dash_source
|
||||
- business_scope
|
||||
|
||||
data_tests:
|
||||
- dbt_utils.unique_combination_of_columns:
|
||||
combination_of_columns:
|
||||
- date
|
||||
- id_deal
|
||||
- dash_source
|
||||
- business_scope
|
||||
|
||||
columns:
|
||||
- name: date
|
||||
|
|
@ -2026,15 +2062,18 @@ models:
|
|||
data_tests:
|
||||
- not_null
|
||||
|
||||
- name: dash_source
|
||||
- name: business_scope
|
||||
data_type: string
|
||||
description: Dashboard source, either old or new.
|
||||
description: |
|
||||
Business scope identifying the metric source.
|
||||
data_tests:
|
||||
- not_null
|
||||
- accepted_values:
|
||||
values:
|
||||
- "New Dash"
|
||||
- "Old Dash"
|
||||
- "New Dash"
|
||||
- "API"
|
||||
- "UNSET"
|
||||
|
||||
- name: active_accommodations_per_deal_segmentation
|
||||
data_type: string
|
||||
|
|
@ -2075,7 +2114,7 @@ models:
|
|||
The unique key corresponds to:
|
||||
- end_date,
|
||||
- id_deal,
|
||||
- dash_source,
|
||||
- business_scope,
|
||||
- active_accommodations_per_deal_segmentation.
|
||||
|
||||
data_tests:
|
||||
|
|
@ -2083,7 +2122,7 @@ models:
|
|||
combination_of_columns:
|
||||
- end_date
|
||||
- id_deal
|
||||
- dash_source
|
||||
- business_scope
|
||||
- active_accommodations_per_deal_segmentation
|
||||
|
||||
columns:
|
||||
|
|
@ -2107,15 +2146,18 @@ models:
|
|||
data_tests:
|
||||
- not_null
|
||||
|
||||
- name: dash_source
|
||||
- name: business_scope
|
||||
data_type: string
|
||||
description: Dashboard source, either old or new.
|
||||
description: |
|
||||
Business scope identifying the metric source.
|
||||
data_tests:
|
||||
- not_null
|
||||
- accepted_values:
|
||||
values:
|
||||
- "New Dash"
|
||||
- "Old Dash"
|
||||
- "New Dash"
|
||||
- "API"
|
||||
- "UNSET"
|
||||
|
||||
- name: active_accommodations_per_deal_segmentation
|
||||
data_type: string
|
||||
|
|
@ -2157,7 +2199,7 @@ models:
|
|||
The unique key corresponds to:
|
||||
- end_date,
|
||||
- id_deal,
|
||||
- dash_source,
|
||||
- business_scope,
|
||||
- active_accommodations_per_deal_segmentation.
|
||||
|
||||
data_tests:
|
||||
|
|
@ -2165,7 +2207,7 @@ models:
|
|||
combination_of_columns:
|
||||
- end_date
|
||||
- id_deal
|
||||
- dash_source
|
||||
- business_scope
|
||||
- active_accommodations_per_deal_segmentation
|
||||
|
||||
columns:
|
||||
|
|
@ -2189,15 +2231,18 @@ models:
|
|||
data_tests:
|
||||
- not_null
|
||||
|
||||
- name: dash_source
|
||||
- name: business_scope
|
||||
data_type: string
|
||||
description: Dashboard source, either old or new.
|
||||
description: |
|
||||
Business scope identifying the metric source.
|
||||
data_tests:
|
||||
- not_null
|
||||
- accepted_values:
|
||||
values:
|
||||
- "New Dash"
|
||||
- "Old Dash"
|
||||
- "New Dash"
|
||||
- "API"
|
||||
- "UNSET"
|
||||
|
||||
- name: active_accommodations_per_deal_segmentation
|
||||
data_type: string
|
||||
|
|
@ -2270,7 +2315,7 @@ models:
|
|||
- global
|
||||
- by_number_of_listings
|
||||
- by_billing_country
|
||||
- by_dash_source
|
||||
- by_business_scope
|
||||
- by_deal
|
||||
|
||||
- name: dimension_value
|
||||
|
|
@ -2325,7 +2370,7 @@ models:
|
|||
- global
|
||||
- by_number_of_listings
|
||||
- by_billing_country
|
||||
- by_dash_source
|
||||
- by_business_scope
|
||||
- by_deal
|
||||
|
||||
- name: dimension_value
|
||||
|
|
@ -2347,7 +2392,7 @@ models:
|
|||
- date,
|
||||
- id_deal,
|
||||
- has_id_check,
|
||||
- dash_source
|
||||
- business_scope
|
||||
|
||||
data_tests:
|
||||
- dbt_utils.unique_combination_of_columns:
|
||||
|
|
@ -2355,7 +2400,7 @@ models:
|
|||
- date
|
||||
- id_deal
|
||||
- has_id_check
|
||||
- dash_source
|
||||
- business_scope
|
||||
|
||||
columns:
|
||||
- name: date
|
||||
|
|
@ -2370,15 +2415,18 @@ models:
|
|||
data_tests:
|
||||
- not_null
|
||||
|
||||
- name: dash_source
|
||||
- name: business_scope
|
||||
data_type: string
|
||||
description: Dashboard source, either old or new.
|
||||
description: |
|
||||
Business scope identifying the metric source.
|
||||
data_tests:
|
||||
- not_null
|
||||
- accepted_values:
|
||||
values:
|
||||
- "New Dash"
|
||||
- "Old Dash"
|
||||
- "New Dash"
|
||||
- "API"
|
||||
- "UNSET"
|
||||
|
||||
- name: has_id_check
|
||||
data_type: string
|
||||
|
|
@ -2449,7 +2497,7 @@ models:
|
|||
The unique key corresponds to:
|
||||
- end_date,
|
||||
- id_deal,
|
||||
- dash_source,
|
||||
- business_scope,
|
||||
- has_id_check,
|
||||
- active_accommodations_per_deal_segmentation.
|
||||
|
||||
|
|
@ -2458,7 +2506,7 @@ models:
|
|||
combination_of_columns:
|
||||
- end_date
|
||||
- id_deal
|
||||
- dash_source
|
||||
- business_scope
|
||||
- has_id_check
|
||||
- active_accommodations_per_deal_segmentation
|
||||
|
||||
|
|
@ -2483,15 +2531,18 @@ models:
|
|||
data_tests:
|
||||
- not_null
|
||||
|
||||
- name: dash_source
|
||||
- name: business_scope
|
||||
data_type: string
|
||||
description: Dashboard source, either old or new.
|
||||
description: |
|
||||
Business scope identifying the metric source.
|
||||
data_tests:
|
||||
- not_null
|
||||
- accepted_values:
|
||||
values:
|
||||
- "New Dash"
|
||||
- "Old Dash"
|
||||
- "New Dash"
|
||||
- "API"
|
||||
- "UNSET"
|
||||
|
||||
- name: has_id_check
|
||||
data_type: string
|
||||
|
|
@ -2562,7 +2613,7 @@ models:
|
|||
The unique key corresponds to:
|
||||
- end_date,
|
||||
- id_deal,
|
||||
- dash_source,
|
||||
- business_scope,
|
||||
- has_id_check,
|
||||
- active_accommodations_per_deal_segmentation.
|
||||
|
||||
|
|
@ -2571,7 +2622,7 @@ models:
|
|||
combination_of_columns:
|
||||
- end_date
|
||||
- id_deal
|
||||
- dash_source
|
||||
- business_scope
|
||||
- has_id_check
|
||||
- active_accommodations_per_deal_segmentation
|
||||
|
||||
|
|
@ -2596,15 +2647,18 @@ models:
|
|||
data_tests:
|
||||
- not_null
|
||||
|
||||
- name: dash_source
|
||||
- name: business_scope
|
||||
data_type: string
|
||||
description: Dashboard source, either old or new.
|
||||
description: |
|
||||
Business scope identifying the metric source.
|
||||
data_tests:
|
||||
- not_null
|
||||
- accepted_values:
|
||||
values:
|
||||
- "New Dash"
|
||||
- "Old Dash"
|
||||
- "New Dash"
|
||||
- "API"
|
||||
- "UNSET"
|
||||
|
||||
- name: has_id_check
|
||||
data_type: string
|
||||
|
|
@ -2709,7 +2763,7 @@ models:
|
|||
- global
|
||||
- by_number_of_listings
|
||||
- by_billing_country
|
||||
- by_dash_source
|
||||
- by_business_scope
|
||||
- by_deal
|
||||
- by_has_id_check
|
||||
|
||||
|
|
@ -2788,7 +2842,7 @@ models:
|
|||
- global
|
||||
- by_number_of_listings
|
||||
- by_billing_country
|
||||
- by_dash_source
|
||||
- by_business_scope
|
||||
- by_deal
|
||||
- by_has_id_check
|
||||
|
||||
|
|
@ -2830,14 +2884,14 @@ models:
|
|||
in this case:
|
||||
- date,
|
||||
- id_deal,
|
||||
- dash_source.
|
||||
- business_scope.
|
||||
|
||||
data_tests:
|
||||
- dbt_utils.unique_combination_of_columns:
|
||||
combination_of_columns:
|
||||
- date
|
||||
- id_deal
|
||||
- dash_source
|
||||
- business_scope
|
||||
|
||||
columns:
|
||||
- name: date
|
||||
|
|
@ -2852,15 +2906,18 @@ models:
|
|||
data_tests:
|
||||
- not_null
|
||||
|
||||
- name: dash_source
|
||||
- name: business_scope
|
||||
data_type: string
|
||||
description: Dashboard source, either old or new.
|
||||
description: |
|
||||
Business scope identifying the metric source.
|
||||
data_tests:
|
||||
- not_null
|
||||
- accepted_values:
|
||||
values:
|
||||
- "New Dash"
|
||||
- "Old Dash"
|
||||
- "New Dash"
|
||||
- "API"
|
||||
- "UNSET"
|
||||
|
||||
- name: active_accommodations_per_deal_segmentation
|
||||
data_type: string
|
||||
|
|
@ -2913,7 +2970,7 @@ models:
|
|||
The unique key corresponds to:
|
||||
- end_date,
|
||||
- id_deal,
|
||||
- dash_source,
|
||||
- business_scope,
|
||||
- active_accommodations_per_deal_segmentation.
|
||||
|
||||
data_tests:
|
||||
|
|
@ -2921,7 +2978,7 @@ models:
|
|||
combination_of_columns:
|
||||
- end_date
|
||||
- id_deal
|
||||
- dash_source
|
||||
- business_scope
|
||||
- active_accommodations_per_deal_segmentation
|
||||
|
||||
columns:
|
||||
|
|
@ -2945,15 +3002,18 @@ models:
|
|||
data_tests:
|
||||
- not_null
|
||||
|
||||
- name: dash_source
|
||||
- name: business_scope
|
||||
data_type: string
|
||||
description: Dashboard source, either old or new.
|
||||
description: |
|
||||
Business scope identifying the metric source.
|
||||
data_tests:
|
||||
- not_null
|
||||
- accepted_values:
|
||||
values:
|
||||
- "New Dash"
|
||||
- "Old Dash"
|
||||
- "New Dash"
|
||||
- "API"
|
||||
- "UNSET"
|
||||
|
||||
- name: active_accommodations_per_deal_segmentation
|
||||
data_type: string
|
||||
|
|
@ -3007,7 +3067,7 @@ models:
|
|||
The unique key corresponds to:
|
||||
- end_date,
|
||||
- id_deal,
|
||||
- dash_source,
|
||||
- business_scope,
|
||||
- active_accommodations_per_deal_segmentation.
|
||||
|
||||
data_tests:
|
||||
|
|
@ -3015,7 +3075,7 @@ models:
|
|||
combination_of_columns:
|
||||
- end_date
|
||||
- id_deal
|
||||
- dash_source
|
||||
- business_scope
|
||||
- active_accommodations_per_deal_segmentation
|
||||
|
||||
columns:
|
||||
|
|
@ -3039,15 +3099,18 @@ models:
|
|||
data_tests:
|
||||
- not_null
|
||||
|
||||
- name: dash_source
|
||||
- name: business_scope
|
||||
data_type: string
|
||||
description: Dashboard source, either old or new.
|
||||
description: |
|
||||
Business scope identifying the metric source.
|
||||
data_tests:
|
||||
- not_null
|
||||
- accepted_values:
|
||||
values:
|
||||
- "New Dash"
|
||||
- "Old Dash"
|
||||
- "New Dash"
|
||||
- "API"
|
||||
- "UNSET"
|
||||
|
||||
- name: active_accommodations_per_deal_segmentation
|
||||
data_type: string
|
||||
|
|
@ -3134,7 +3197,7 @@ models:
|
|||
- global
|
||||
- by_number_of_listings
|
||||
- by_billing_country
|
||||
- by_dash_source
|
||||
- by_business_scope
|
||||
- by_deal
|
||||
|
||||
- name: dimension_value
|
||||
|
|
@ -3206,7 +3269,7 @@ models:
|
|||
- global
|
||||
- by_number_of_listings
|
||||
- by_billing_country
|
||||
- by_dash_source
|
||||
- by_business_scope
|
||||
- by_deal
|
||||
|
||||
- name: dimension_value
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue