changed name

This commit is contained in:
Joaquin Ossa 2025-02-26 16:45:01 +01:00
parent 0fd8c21e38
commit aaa0b1a5dd
6 changed files with 42 additions and 42 deletions

View file

@ -365,24 +365,24 @@ models:
min_value: 0
strictly: false
- name: calculated_guest_charge_amount_in_txn_currency
- name: submitted_guest_charge_amount_in_txn_currency
data_type: numeric
description: "Calculated guest charge amount in local currency."
description: "Submitted guest charge amount in local currency."
data_tests:
- dbt_expectations.expect_column_values_to_be_between:
min_value: 0
strictly: false
- name: calculated_guest_charge_currency
- name: submitted_guest_charge_currency
data_type: text
description: "Currency of the calculated guest charge amount."
description: "Currency of the submitted guest charge amount."
data_tests:
- not_null:
where: "calculated_guest_charge_amount_in_txn_currency > 0"
where: "submitted_guest_charge_amount_in_txn_currency > 0"
- name: calculated_guest_charge_amount_in_usd
- name: submitted_guest_charge_amount_in_usd
data_type: numeric
description: "Calculated guest charge amount in USD."
description: "Submitted guest charge amount in USD."
data_tests:
- dbt_expectations.expect_column_values_to_be_between:
min_value: 0

View file

@ -233,15 +233,15 @@ select
{{ adapter.quote("documents") }}
-> 'SavedCalculation'
->> 'SubmittedGuestChargeAmount'
)::numeric as calculated_guest_charge_amount_in_txn_currency,
)::numeric as submitted_guest_charge_amount_in_txn_currency,
{{ adapter.quote("documents") }}
-> 'SavedCalculation'
->> 'SubmittedGuestChargeCurrency' as calculated_guest_charge_currency,
->> 'SubmittedGuestChargeCurrency' as submitted_guest_charge_currency,
(
{{ adapter.quote("documents") }}
-> 'SavedCalculation'
->> 'SubmittedGuestChargeAmountInUsd'
)::numeric as calculated_guest_charge_amount_in_usd,
)::numeric as submitted_guest_charge_amount_in_usd,
-- Third Party Compensation Claim
(