mirror of
https://github.com/FlipsideCrypto/near-models.git
synced 2026-02-06 14:26:52 +00:00
fix config block
This commit is contained in:
parent
491e182db5
commit
fad0ea0649
@ -1,8 +1,13 @@
|
||||
{{ config(
|
||||
materialized = 'view',
|
||||
secure = false,
|
||||
meta ={ 'database_tags':{ 'table':{ 'PURPOSE': 'DEFI, SWAPS' }} },
|
||||
tags = ['scheduled_non_core']
|
||||
materialized = 'incremental',
|
||||
incremental_strategy = 'merge',
|
||||
incremental_predicates = ["dynamic_range_predicate_custom","block_timestamp::date"],
|
||||
merge_exclude_columns = ["inserted_timestamp"],
|
||||
unique_key = 'ez_dex_swaps_id',
|
||||
cluster_by = ['block_timestamp::DATE'],
|
||||
post_hook = "ALTER TABLE {{ this }} ADD SEARCH OPTIMIZATION ON EQUALITY(tx_hash,receipt_object_id,receiver_id,signer_id,token_out,token_in);",
|
||||
tags = ['scheduled_non_core'],
|
||||
meta ={ 'database_tags':{ 'table':{ 'PURPOSE': 'DEFI, SWAPS' }} }
|
||||
) }}
|
||||
|
||||
-- depends on {{ ref('silver__dex_swaps_v2') }}
|
||||
|
||||
@ -8,6 +8,10 @@
|
||||
post_hook = "ALTER TABLE {{ this }} ADD SEARCH OPTIMIZATION ON EQUALITY(tx_hash,receipt_id);",
|
||||
tags = ['scheduled_non_core']
|
||||
) }}
|
||||
-- depends on {{ ref('defi__fact_intents') }}
|
||||
-- depends on {{ ref('silver__defuse_tokens_metadata') }}
|
||||
-- depends on {{ ref('silver__ft_contract_metadata') }}
|
||||
-- depends on {{ ref('price__ez_prices_hourly') }}
|
||||
|
||||
{% if execute %}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user