rerun for nulls
Some checks failed
docs_update / run_dbt_jobs (push) Has been cancelled
docs_update / notify-failure (push) Has been cancelled
dbt_run_incremental_core / run_dbt_jobs (push) Has been cancelled
dbt_run_incremental_non_core / run_dbt_jobs (push) Has been cancelled
dbt_run_streamline_realtime_tx / run_dbt_jobs (push) Has been cancelled
dbt_run_coin_info_backfill / run_dbt_jobs (push) Has been cancelled
dbt_run_streamline_realtime / run_dbt_jobs (push) Has been cancelled
dbt_run_incremental_core / notify-failure (push) Has been cancelled
dbt_run_incremental_non_core / notify-failure (push) Has been cancelled

This commit is contained in:
Eric Laurello 2025-08-05 16:13:05 -04:00
parent f7005e6326
commit eaafed1b0f

View File

@ -28,12 +28,13 @@ LEFT JOIN (
coin_type
FROM
{{ this }}
{# WHERE
WHERE
decimals IS NOT NULL --rerun if decimals is null and inserted_timestamp is within the last 7 days (if the token still doesnt have decimals after 7 day then we will stop trying)
OR (
decimals IS NULL
AND inserted_timestamp < CURRENT_DATE -7
) #}
AND inserted_timestamp > CURRENT_DATE -7
AND modified_timestamp :: DATE < CURRENT_DATE -2
)
) b
ON A.coin_type = b.coin_type
WHERE