mirror of
https://github.com/FlipsideCrypto/flow-models.git
synced 2026-02-06 15:02:11 +00:00
parent
ea19cd3857
commit
c4f5ac129d
@ -6,10 +6,7 @@ models:
|
||||
tests:
|
||||
- sequence_gaps:
|
||||
column_name: block_height
|
||||
where: BLOCK_TIMESTAMP < CURRENT_DATE
|
||||
config:
|
||||
severity: warn
|
||||
error_if: "> 500"
|
||||
where: BLOCK_TIMESTAMP::DATE < CURRENT_DATE
|
||||
|
||||
columns:
|
||||
- name: BLOCK_HEIGHT
|
||||
|
||||
@ -19,10 +19,7 @@ models:
|
||||
- tx_gaps:
|
||||
column_block: block_height
|
||||
column_tx_count: tx_count
|
||||
where: BLOCK_TIMESTAMP < CURRENT_DATE
|
||||
config:
|
||||
severity: warn
|
||||
error_if: "> 5000"
|
||||
where: BLOCK_TIMESTAMP::DATE < CURRENT_DATE
|
||||
|
||||
- name: BLOCK_TIMESTAMP
|
||||
description: "{{ doc('block_timestamp') }}"
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
{{ config(
|
||||
severity = "warn",
|
||||
error_if = ">100"
|
||||
error_if = ">100",
|
||||
enabled = False
|
||||
) }}
|
||||
|
||||
SELECT
|
||||
|
||||
Loading…
Reference in New Issue
Block a user