remove threshold (#120)

* remove threshold

* cast date
This commit is contained in:
Jack Forgash 2023-05-05 14:04:12 -06:00 committed by GitHub
parent ea19cd3857
commit c4f5ac129d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 9 deletions

View File

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

View File

@ -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') }}"

View File

@ -1,6 +1,7 @@
{{ config(
severity = "warn",
error_if = ">100"
error_if = ">100",
enabled = False
) }}
SELECT