mirror of
https://github.com/FlipsideCrypto/osmosis-models.git
synced 2026-02-06 11:47:03 +00:00
_INSERTED_TIMESTAMP
This commit is contained in:
parent
9e64e3eaeb
commit
f0a10367b6
@ -13,7 +13,7 @@ models:
|
|||||||
description: "{{ doc('block_id') }}"
|
description: "{{ doc('block_id') }}"
|
||||||
tests:
|
tests:
|
||||||
- not_null:
|
- not_null:
|
||||||
where: BLOCK_TIMESTAMP::DATE > current_date-7
|
where: _INSERTED_TIMESTAMP::DATE > current_date-7
|
||||||
- dbt_expectations.expect_column_values_to_be_in_type_list:
|
- dbt_expectations.expect_column_values_to_be_in_type_list:
|
||||||
column_type_list:
|
column_type_list:
|
||||||
- NUMBER
|
- NUMBER
|
||||||
@ -22,7 +22,7 @@ models:
|
|||||||
description: "{{ doc('address') }}"
|
description: "{{ doc('address') }}"
|
||||||
tests:
|
tests:
|
||||||
- not_null:
|
- not_null:
|
||||||
where: BLOCK_TIMESTAMP::DATE > current_date-7
|
where: _INSERTED_TIMESTAMP::DATE > current_date-7
|
||||||
- dbt_expectations.expect_column_values_to_be_in_type_list:
|
- dbt_expectations.expect_column_values_to_be_in_type_list:
|
||||||
column_type_list:
|
column_type_list:
|
||||||
- STRING
|
- STRING
|
||||||
@ -33,7 +33,7 @@ models:
|
|||||||
description: "{{ doc('currency') }}"
|
description: "{{ doc('currency') }}"
|
||||||
tests:
|
tests:
|
||||||
- not_null:
|
- not_null:
|
||||||
where: BLOCK_TIMESTAMP::DATE > current_date-7
|
where: _INSERTED_TIMESTAMP::DATE > current_date-7
|
||||||
- dbt_expectations.expect_column_values_to_be_in_type_list:
|
- dbt_expectations.expect_column_values_to_be_in_type_list:
|
||||||
column_type_list:
|
column_type_list:
|
||||||
- STRING
|
- STRING
|
||||||
@ -41,7 +41,7 @@ models:
|
|||||||
- name: AMOUNT
|
- name: AMOUNT
|
||||||
tests:
|
tests:
|
||||||
- not_null:
|
- not_null:
|
||||||
where: BLOCK_TIMESTAMP::DATE > current_date-7
|
where: _INSERTED_TIMESTAMP::DATE > current_date-7
|
||||||
- dbt_expectations.expect_column_values_to_be_in_type_list:
|
- dbt_expectations.expect_column_values_to_be_in_type_list:
|
||||||
column_type_list:
|
column_type_list:
|
||||||
- NUMBER
|
- NUMBER
|
||||||
@ -50,7 +50,7 @@ models:
|
|||||||
description: "{{ doc('ingested_at') }}"
|
description: "{{ doc('ingested_at') }}"
|
||||||
tests:
|
tests:
|
||||||
- not_null:
|
- not_null:
|
||||||
where: BLOCK_TIMESTAMP::DATE > current_date-7
|
where: _INSERTED_TIMESTAMP::DATE > current_date-7
|
||||||
- dbt_expectations.expect_row_values_to_have_recent_data:
|
- dbt_expectations.expect_row_values_to_have_recent_data:
|
||||||
datepart: day
|
datepart: day
|
||||||
interval: 2
|
interval: 2
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user