flow-models/tests/points/tests__unique_address_count_threshold.sql
Jack Forgash 2a4846b972
Quickfix rewards balances (#412)
* chg test threshold and decrease concurrency

* rm created_at null tests

* elevate response json, fix qualify loc

* fix unique key

* chg gha silver to 2utc
2025-02-20 12:38:16 -07:00

22 lines
430 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 > 36000