From 6f28c4d9dc7246c76ab14fd724efd9e0c10ddc2d Mon Sep 17 00:00:00 2001 From: Joaquin Ossa Date: Wed, 26 Feb 2025 16:51:56 +0100 Subject: [PATCH] numeric --- models/intermediate/resolutions/schema.yml | 8 ++++---- models/reporting/resolutions/schema.yml | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/models/intermediate/resolutions/schema.yml b/models/intermediate/resolutions/schema.yml index 5e9894a..a018db3 100644 --- a/models/intermediate/resolutions/schema.yml +++ b/models/intermediate/resolutions/schema.yml @@ -181,7 +181,7 @@ models: strictly: false - name: calculated_payout_amount_in_txn_currency - data_type: text + data_type: numeric description: "Calculated payout amount in local currency." data_tests: - dbt_expectations.expect_column_values_to_be_between: @@ -196,7 +196,7 @@ models: where: "calculated_payout_amount_in_txn_currency > 0" - name: calculated_payout_amount_in_usd - data_type: text + data_type: numeric description: "Calculated payout amount in USD." data_tests: - dbt_expectations.expect_column_values_to_be_between: @@ -204,7 +204,7 @@ models: strictly: false - name: calculated_payout_amount_in_gbp - data_type: text + data_type: numeric description: "Calculated payout amount in GBP." data_tests: - dbt_expectations.expect_column_values_to_be_between: @@ -235,7 +235,7 @@ models: strictly: false - name: submitted_guest_charge_amount_in_gbp - data_type: text + data_type: numeric description: "Submitted guest charge amount in GBP." data_tests: - dbt_expectations.expect_column_values_to_be_between: diff --git a/models/reporting/resolutions/schema.yml b/models/reporting/resolutions/schema.yml index 564883b..cac8c09 100644 --- a/models/reporting/resolutions/schema.yml +++ b/models/reporting/resolutions/schema.yml @@ -181,7 +181,7 @@ models: strictly: false - name: calculated_payout_amount_in_txn_currency - data_type: text + data_type: numeric description: "Calculated payout amount in local currency." data_tests: - dbt_expectations.expect_column_values_to_be_between: @@ -196,7 +196,7 @@ models: where: "calculated_payout_amount_in_txn_currency > 0" - name: calculated_payout_amount_in_usd - data_type: text + data_type: numeric description: "Calculated payout amount in USD." data_tests: - dbt_expectations.expect_column_values_to_be_between: @@ -204,7 +204,7 @@ models: strictly: false - name: calculated_payout_amount_in_gbp - data_type: text + data_type: numeric description: "Calculated payout amount in GBP." data_tests: - dbt_expectations.expect_column_values_to_be_between: @@ -235,7 +235,7 @@ models: strictly: false - name: submitted_guest_charge_amount_in_gbp - data_type: text + data_type: numeric description: "Submitted guest charge amount in GBP." data_tests: - dbt_expectations.expect_column_values_to_be_between: