mirror of
https://github.com/FlipsideCrypto/sei-models.git
synced 2026-02-06 18:46:46 +00:00
ip
This commit is contained in:
parent
97deb2450d
commit
69675cf628
@ -1,6 +1,6 @@
|
||||
{{ config(
|
||||
materialized = 'incremental',
|
||||
incremental_predicates = ["dynamic_range_predicate", "block_timestamp::date"],
|
||||
incremental_predicates = ["DBT_INTERNAL_DEST.block_timestamp::DATE >= (select min(block_timestamp::DATE ) from " ~ generate_tmp_view_name(this) ~ ")"],
|
||||
unique_key = "tx_id",
|
||||
incremental_strategy = 'merge',
|
||||
merge_exclude_columns = ["inserted_timestamp"],
|
||||
@ -43,7 +43,7 @@ WHERE
|
||||
{% if is_incremental() %}
|
||||
AND _inserted_timestamp >= DATEADD(
|
||||
MINUTE,
|
||||
-30,(
|
||||
-5,(
|
||||
SELECT
|
||||
MAX(
|
||||
_inserted_timestamp
|
||||
|
||||
Loading…
Reference in New Issue
Block a user