mirror of
https://github.com/FlipsideCrypto/flow-models.git
synced 2026-02-06 15:36:43 +00:00
* add gold view to snag/transaction_entries workflow * add sortDir param * backfill * upd gha to hourly
22 lines
431 B
SQL
22 lines
431 B
SQL
{{ config(
|
|
severity = "error",
|
|
tags = ["streamline_non_core"]
|
|
) }}
|
|
{# This test is to alert if the total EVM Addresses increases and the
|
|
model calling balances needs to be adjusted with a higher SQL Limit #}
|
|
WITH distinct_count AS (
|
|
|
|
SELECT
|
|
COUNT(
|
|
DISTINCT address
|
|
) AS ct
|
|
FROM
|
|
{{ ref('streamline__evm_addresses') }}
|
|
)
|
|
SELECT
|
|
*
|
|
FROM
|
|
distinct_count
|
|
WHERE
|
|
ct > 150000
|