Merge pull request #35 from FlipsideCrypto/upds
Some checks failed
docs_update / run_dbt_jobs (push) Has been cancelled
dbt_run_dev_refresh / run_dbt_jobs (push) Has been cancelled
dbt_test_monthly / run_dbt_jobs (push) Has been cancelled

upds
This commit is contained in:
eric-laurello 2025-11-19 16:15:59 -05:00 committed by GitHub
commit 6e6eb5e331
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,12 +1,12 @@
{{ config(
materialized = 'incremental',
unique_key = "blocks_id",
unique_key = "block_id",
incremental_strategy = 'merge',
incremental_predicates = ["COALESCE(DBT_INTERNAL_DEST.block_timestamp::DATE,'2099-12-31') >= (select min(block_timestamp::DATE) from " ~ generate_tmp_view_name(this) ~ ")"],
merge_exclude_columns = ["inserted_timestamp"],
cluster_by = ['block_timestamp::DATE'],
tags = ['core','full_test']
) }}
-- incremental_predicates = ["COALESCE(DBT_INTERNAL_DEST.block_timestamp::DATE,'2099-12-31') >= (select min(block_timestamp::DATE) from " ~ generate_tmp_view_name(this) ~ ")"],
-- depends_on: {{ ref('bronze__blocks') }}
{% if execute %}