mirror of
https://github.com/FlipsideCrypto/movement-models.git
synced 2026-02-06 13:26:45 +00:00
fix a couple test failure
This commit is contained in:
parent
14869dd66c
commit
6f57b26b3e
@ -6,7 +6,7 @@ models:
|
||||
- dbt_utils.recency:
|
||||
datepart: hour
|
||||
field: MODIFIED_TIMESTAMP
|
||||
interval: 3
|
||||
interval: 12
|
||||
severity: error
|
||||
tags: ['test_recency']
|
||||
columns:
|
||||
|
||||
@ -7,9 +7,9 @@ models:
|
||||
tests:
|
||||
- dbt_utils.sequential_values:
|
||||
column_name: BLOCK_TIMESTAMP_HOUR
|
||||
interval: 1
|
||||
interval: interval '1 hour'
|
||||
config:
|
||||
severity: error
|
||||
severity: warn
|
||||
error_if: ">0"
|
||||
tags: ['test_recency']
|
||||
columns:
|
||||
|
||||
@ -7,6 +7,8 @@
|
||||
tags = ['noncore']
|
||||
) }}
|
||||
|
||||
{# TODO -- this model needs to start with block and left join to transactions -- Not every block has a transaction #}
|
||||
|
||||
SELECT
|
||||
DATE_TRUNC(
|
||||
'hour',
|
||||
|
||||
Loading…
Reference in New Issue
Block a user