Merge pull request #480 from FlipsideCrypto/add-defi-tag-nado-models

add-defi-tag-nado-models
This commit is contained in:
Matt Romano 2026-01-26 17:46:56 -08:00 committed by GitHub
commit f356174625
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
9 changed files with 9 additions and 9 deletions

View File

@ -13,7 +13,7 @@
}
}
},
tags = ['gold','nado','curated']
tags = ['gold','nado','curated','defi']
) }}
SELECT

View File

@ -5,7 +5,7 @@
materialized = 'view',
meta ={ 'database_tags':{ 'table':{ 'PURPOSE': 'CLOB, DEX, STATS',
} } },
tags = ['gold','nado','curated']
tags = ['gold','nado','curated','defi']
) }}
SELECT

View File

@ -9,7 +9,7 @@
unique_key = 'ez_clearing_house_events_id',
merge_exclude_columns = ["inserted_timestamp"],
post_hook = "ALTER TABLE {{ this }} ADD SEARCH OPTIMIZATION ON EQUALITY(trader, symbol, subaccount), SUBSTRING(subaccount, symbol)",
tags = ['gold','nado','curated']
tags = ['gold','nado','curated','defi']
) }}
SELECT

View File

@ -9,7 +9,7 @@
unique_key = 'ez_liquidations_id',
merge_exclude_columns = ["inserted_timestamp"],
post_hook = "ALTER TABLE {{ this }} ADD SEARCH OPTIMIZATION ON EQUALITY(trader, subaccount,digest), SUBSTRING(subaccount,trader)",
tags = ['gold','nado','curated']
tags = ['gold','nado','curated','defi']
) }}
SELECT

View File

@ -9,7 +9,7 @@
unique_key = 'ez_market_depth_stats_id',
merge_exclude_columns = ["inserted_timestamp"],
post_hook = "ALTER TABLE {{ this }} ADD SEARCH OPTIMIZATION ON EQUALITY(ticker_id), SUBSTRING(ticker_id)",
tags = ['gold','nado','curated']
tags = ['gold','nado','curated','defi']
) }}
SELECT

View File

@ -9,7 +9,7 @@
unique_key = 'ez_market_stats_id',
merge_exclude_columns = ["inserted_timestamp"],
post_hook = "ALTER TABLE {{ this }} ADD SEARCH OPTIMIZATION ON EQUALITY(ticker_id,symbol), SUBSTRING(ticker_id,symbol)",
tags = ['gold','nado','curated']
tags = ['gold','nado','curated','defi']
) }}
SELECT

View File

@ -9,7 +9,7 @@
unique_key = 'ez_money_markets_id',
merge_exclude_columns = ["inserted_timestamp"],
post_hook = "ALTER TABLE {{ this }} ADD SEARCH OPTIMIZATION ON EQUALITY(ticker_id,product_id,symbol), SUBSTRING(ticker_id,product_id,symbol)",
tags = ['gold','nado','curated']
tags = ['gold','nado','curated','defi']
) }}
SELECT

View File

@ -9,7 +9,7 @@
unique_key = 'ez_perp_trades_id',
merge_exclude_columns = ["inserted_timestamp"],
post_hook = "ALTER TABLE {{ this }} ADD SEARCH OPTIMIZATION ON EQUALITY(tx_hash,symbol,trader,digest,subaccount), SUBSTRING(symbol,trader)",
tags = ['gold','nado','curated']
tags = ['gold','nado','curated','defi']
) }}

View File

@ -9,7 +9,7 @@
unique_key = 'ez_spot_trades_id',
merge_exclude_columns = ["inserted_timestamp"],
post_hook = "ALTER TABLE {{ this }} ADD SEARCH OPTIMIZATION ON EQUALITY(tx_hash,symbol,trader,digest,subaccount), SUBSTRING(symbol,trader)",
tags = ['gold','nado','curated']
tags = ['gold','nado','curated','defi']
) }}
SELECT