mirror of
https://github.com/FlipsideCrypto/solana-models.git
synced 2026-02-06 13:26:46 +00:00
add recency tests (#583)
This commit is contained in:
parent
d5d5dfdea0
commit
fdfdbe4937
@ -19,8 +19,11 @@ models:
|
||||
- name: end_slot
|
||||
description: "Final slot of the epoch"
|
||||
- name: _inserted_timestamp
|
||||
description: "The inserted timestamp"
|
||||
description: "{{ doc('_inserted_timestamp') }}"
|
||||
tests:
|
||||
- not_null
|
||||
- dbt_expectations.expect_row_values_to_have_recent_data:
|
||||
datepart: day
|
||||
interval: 2
|
||||
|
||||
|
||||
|
||||
@ -39,6 +39,9 @@ models:
|
||||
- name: stake_pubkey
|
||||
description: "Address of stake account"
|
||||
- name: _inserted_timestamp
|
||||
description: "The inserted timestamp"
|
||||
description: "{{ doc('_inserted_timestamp') }}"
|
||||
tests:
|
||||
- not_null
|
||||
- dbt_expectations.expect_row_values_to_have_recent_data:
|
||||
datepart: hour
|
||||
interval: 12
|
||||
|
||||
@ -78,7 +78,10 @@ models:
|
||||
description: "validator.app score for Vote distance"
|
||||
- name: www_url
|
||||
description: "url for the validator"
|
||||
- name: _INSERTED_TIMESTAMP
|
||||
- name: _inserted_timestamp
|
||||
description: "{{ doc('_inserted_timestamp') }}"
|
||||
tests:
|
||||
- not_null
|
||||
tests:
|
||||
- not_null
|
||||
- dbt_expectations.expect_row_values_to_have_recent_data:
|
||||
datepart: hour
|
||||
interval: 12
|
||||
@ -65,3 +65,10 @@ models:
|
||||
description: "Public key for the vote account"
|
||||
tests:
|
||||
- not_null
|
||||
- name: _inserted_timestamp
|
||||
description: "{{ doc('_inserted_timestamp') }}"
|
||||
tests:
|
||||
- not_null
|
||||
- dbt_expectations.expect_row_values_to_have_recent_data:
|
||||
datepart: hour
|
||||
interval: 12
|
||||
|
||||
@ -44,8 +44,11 @@ models:
|
||||
tests:
|
||||
- not_null
|
||||
- name: _inserted_timestamp
|
||||
description: "The inserted timestamp"
|
||||
description: "{{ doc('_inserted_timestamp') }}"
|
||||
tests:
|
||||
- not_null
|
||||
- dbt_expectations.expect_row_values_to_have_recent_data:
|
||||
datepart: day
|
||||
interval: 2
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user