Added booking fee and currency to model

This commit is contained in:
Joaquin Ossa 2025-01-15 09:00:36 +01:00
parent ae4f656d54
commit 28f7486634
4 changed files with 27 additions and 1 deletions

View file

@ -41,6 +41,21 @@ models:
to: ref('stg_core__currency')
field: id_currency
- name: currency_code
data_type: character varying
description: Currency ISO 4217 code used by user.
data_tests:
- not_null
- name: booking_fee_in_local_currency
data_type: numeric
description: "Fee charged to the user for each booking in the local currency."
data_tests:
- dbt_expectations.expect_column_values_to_be_between:
min_value: 0
max_value: 1000
strictly: true
- name: guest_last_name
data_type: text
description: Last name of the guest checking in.