This commit is contained in:
Eric Laurello 2024-10-07 10:15:32 -04:00
parent d129543243
commit d2e3ddf929

View File

@ -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