mirror of
https://github.com/FlipsideCrypto/aleo-models.git
synced 2026-02-06 09:26:46 +00:00
commit
6e6eb5e331
@ -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 %}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user