This commit is contained in:
gregoriustanleyy 2025-04-10 22:50:31 +07:00
parent 144e9fddcc
commit 8bf447b61a
2 changed files with 3 additions and 0 deletions

View File

@ -19,6 +19,8 @@ FROM
{{ ref('silver__artemis') }}
WHERE
metric = 'dau'
AND metric_value IS NOT NULL
{% if is_incremental() %}
AND _inserted_timestamp >= (
SELECT COALESCE(MAX(_inserted_timestamp), '1970-01-01'::TIMESTAMP_NTZ)

View File

@ -19,6 +19,7 @@ FROM
{{ ref('silver__artemis') }}
WHERE
metric = 'daily_txns'
AND metric_value IS NOT NULL
{% if is_incremental() %}
AND _inserted_timestamp >= (