Addressed comments

This commit is contained in:
Joaquin 2025-03-24 16:27:37 +01:00
parent 1ebd1c5ccb
commit 721f3e4e9e
4 changed files with 95 additions and 86 deletions

View file

@ -3018,15 +3018,17 @@ models:
- name: int_core__user_product_bundle_contains_services
description: |
This table contains the information of "this user has a certain product bundle which
contains these services."
It's a denormalised relationship to break the power of 2 link between chosen_product_services
and product_service_binary_tier, which allows standard joins using the ids.
contains these services and protections."
It's a denormalised relationship to break the power of 2 link between
chosen_product_services/protection and product_binary_tier,
which allows standard joins using the ids.
data_tests:
- dbt_utils.unique_combination_of_columns:
combination_of_columns:
- id_user_product_bundle
- id_product_service
- id_product
- product_type
columns:
- name: id_user_product_bundle
@ -3049,13 +3051,24 @@ models:
description: |
The identifier of the product bundle. Can be null if it's a custom bundle.
- name: id_product_service
- name: id_product
data_type: bigint
description: |
The identifier of the product service.
The identifier of the product.
data_tests:
- not_null
- name: product_type
data_type: string
description: |
The type of the product, which can be either "service" or "protection".
data_tests:
- not_null
- accepted_values:
values:
- "SERVICE"
- "PROTECTION"
- name: product_bundle_name
data_type: string
description: |
@ -3063,17 +3076,38 @@ models:
data_tests:
- not_null
- name: product_service_name
- name: service_business_type
data_type: string
description: |
The name of the product service.
Identifies the service type (Screening, Deposit Management, Protection
or Guest Agreement) according to New Pricing documentation.
Cannot be null.
data_tests:
- not_null
- accepted_values:
values:
- SCREENING
- DEPOSIT_MANAGEMENT
- GUEST_AGREEMENT
- PROTECTION
- name: is_default_service
data_type: boolean
description: |
Flag that determines if the service is a default one (True)
or an upgraded service (False).
- name: product_name
data_type: string
description: |
The name of the product service or protection.
data_tests:
- not_null
- name: product_service_display_name
- name: product_display_name
data_type: string
description: |
The display name of the product service.
The display name of the product service or protection.
data_tests:
- not_null