From d2e3ddf9290672d1da987a7c4f4ab284cf7c60cd Mon Sep 17 00:00:00 2001 From: Eric Laurello Date: Mon, 7 Oct 2024 10:15:32 -0400 Subject: [PATCH] bad test --- models/silver/core/silver__daily_balances.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/models/silver/core/silver__daily_balances.yml b/models/silver/core/silver__daily_balances.yml index c844b8f..0a9c842 100644 --- a/models/silver/core/silver__daily_balances.yml +++ b/models/silver/core/silver__daily_balances.yml @@ -9,7 +9,7 @@ models: - ADDRESS - BALANCE_TYPE - CURRENCY - where: BLOCK_TIMESTAMP::DATE > current_date-7 + where: date > current_date-7 - compare_model_subset: name: silver__daily_balances_business_logic_test compare_model: ref('testing__daily_balances') @@ -27,12 +27,12 @@ models: description: The day the balance was recorded on. tests: - not_null: - where: BLOCK_TIMESTAMP::DATE > current_date-7 + where: date > current_date-7 - name: BALANCE_TYPE description: Either "staked" or "liquid" corresponding to how the currency is in the wallet. tests: - not_null: - where: BLOCK_TIMESTAMP::DATE > current_date-7 + where: date > current_date-7 - dbt_expectations.expect_column_values_to_be_in_type_list: column_type_list: - STRING @@ -43,7 +43,7 @@ models: description: "{{ doc('address') }}" tests: - not_null: - where: BLOCK_TIMESTAMP::DATE > current_date-7 + where: date > current_date-7 - dbt_expectations.expect_column_values_to_be_in_type_list: column_type_list: - STRING @@ -54,7 +54,7 @@ models: description: The amount of the currency the wallet held at the given time tests: - not_null: - where: BLOCK_TIMESTAMP::DATE > current_date-7 + where: date > current_date-7 - dbt_expectations.expect_column_values_to_be_in_type_list: column_type_list: - NUMBER @@ -63,7 +63,7 @@ models: description: "{{ doc('currency') }}" tests: - not_null: - where: BLOCK_TIMESTAMP::DATE > current_date-7 + where: date > current_date-7 - dbt_expectations.expect_column_values_to_be_in_type_list: column_type_list: - STRING