From b4ff3fef792d330d8cccf1a8a716adbf67bcbcd0 Mon Sep 17 00:00:00 2001 From: sydneynotthecity Date: Mon, 11 Nov 2024 12:48:03 -0600 Subject: [PATCH] Untag staging and intermediate models (#114) * Untag staging and intermediate models * Remove empty config definition --- models/intermediate/trades/int_trade_agg_day.sql | 3 +-- models/intermediate/trades/int_trade_agg_month.sql | 3 +-- models/intermediate/trades/int_trade_agg_week.sql | 3 +-- models/intermediate/trades/int_trade_agg_year.sql | 3 +-- models/staging/stg_account_signers.sql | 5 ----- models/staging/stg_accounts.sql | 5 ----- models/staging/stg_claimable_balances.sql | 5 ----- models/staging/stg_config_settings.sql | 5 ----- models/staging/stg_contract_code.sql | 5 ----- models/staging/stg_contract_data.sql | 5 ----- models/staging/stg_history_assets.sql | 5 ----- models/staging/stg_history_effects.sql | 5 ----- models/staging/stg_history_ledgers.sql | 5 ----- models/staging/stg_history_operations.sql | 5 ----- models/staging/stg_history_trades.sql | 5 ----- models/staging/stg_history_transactions.sql | 5 ----- models/staging/stg_liquidity_pools.sql | 5 ----- models/staging/stg_offers.sql | 5 ----- models/staging/stg_trust_lines.sql | 5 ----- models/staging/stg_ttl.sql | 5 ----- 20 files changed, 4 insertions(+), 88 deletions(-) diff --git a/models/intermediate/trades/int_trade_agg_day.sql b/models/intermediate/trades/int_trade_agg_day.sql index 15e8867..1b559dd 100644 --- a/models/intermediate/trades/int_trade_agg_day.sql +++ b/models/intermediate/trades/int_trade_agg_day.sql @@ -1,6 +1,5 @@ {{ config( - tags = ["trade_agg"] - , cluster_by =["asset_a", "asset_b"] + cluster_by =["asset_a", "asset_b"] ) }} diff --git a/models/intermediate/trades/int_trade_agg_month.sql b/models/intermediate/trades/int_trade_agg_month.sql index e10c468..3da6b74 100644 --- a/models/intermediate/trades/int_trade_agg_month.sql +++ b/models/intermediate/trades/int_trade_agg_month.sql @@ -1,6 +1,5 @@ {{ config( - tags = ["trade_agg"] - , cluster_by =["asset_a", "asset_b"] + cluster_by =["asset_a", "asset_b"] ) }} diff --git a/models/intermediate/trades/int_trade_agg_week.sql b/models/intermediate/trades/int_trade_agg_week.sql index 4c628ae..5584e5e 100644 --- a/models/intermediate/trades/int_trade_agg_week.sql +++ b/models/intermediate/trades/int_trade_agg_week.sql @@ -1,6 +1,5 @@ {{ config( - tags = ["trade_agg"] - , cluster_by =["asset_a", "asset_b"] + cluster_by =["asset_a", "asset_b"] ) }} diff --git a/models/intermediate/trades/int_trade_agg_year.sql b/models/intermediate/trades/int_trade_agg_year.sql index e67309f..369860c 100644 --- a/models/intermediate/trades/int_trade_agg_year.sql +++ b/models/intermediate/trades/int_trade_agg_year.sql @@ -1,6 +1,5 @@ {{ config( - tags = ["trade_agg"] - , cluster_by =["asset_a", "asset_b"] + cluster_by =["asset_a", "asset_b"] ) }} diff --git a/models/staging/stg_account_signers.sql b/models/staging/stg_account_signers.sql index 43b0045..2407877 100644 --- a/models/staging/stg_account_signers.sql +++ b/models/staging/stg_account_signers.sql @@ -1,8 +1,3 @@ -{{ config( - tags = ["enriched_history_operations"] - ) -}} - with raw_table as ( select * diff --git a/models/staging/stg_accounts.sql b/models/staging/stg_accounts.sql index 6d93497..1e8f27f 100644 --- a/models/staging/stg_accounts.sql +++ b/models/staging/stg_accounts.sql @@ -1,8 +1,3 @@ -{{ config( - tags = ["enriched_history_operations"] - ) -}} - with raw_table as ( select * diff --git a/models/staging/stg_claimable_balances.sql b/models/staging/stg_claimable_balances.sql index 261ef22..dfd566a 100644 --- a/models/staging/stg_claimable_balances.sql +++ b/models/staging/stg_claimable_balances.sql @@ -1,8 +1,3 @@ -{{ config( - tags = ["enriched_history_operations"] - ) -}} - with raw_table as ( select * diff --git a/models/staging/stg_config_settings.sql b/models/staging/stg_config_settings.sql index 91e226c..eac77f1 100644 --- a/models/staging/stg_config_settings.sql +++ b/models/staging/stg_config_settings.sql @@ -1,8 +1,3 @@ -{{ config( - tags = ["enriched_history_operations"] - ) -}} - with raw_table as ( select * diff --git a/models/staging/stg_contract_code.sql b/models/staging/stg_contract_code.sql index 9551456..5e5e599 100644 --- a/models/staging/stg_contract_code.sql +++ b/models/staging/stg_contract_code.sql @@ -1,8 +1,3 @@ -{{ config( - tags = ["enriched_history_operations"] - ) -}} - with raw_table as ( select * diff --git a/models/staging/stg_contract_data.sql b/models/staging/stg_contract_data.sql index bdf26a3..cdec497 100644 --- a/models/staging/stg_contract_data.sql +++ b/models/staging/stg_contract_data.sql @@ -1,8 +1,3 @@ -{{ config( - tags = ["enriched_history_operations"] - ) -}} - with raw_table as ( select * diff --git a/models/staging/stg_history_assets.sql b/models/staging/stg_history_assets.sql index 05cc79e..85c3586 100644 --- a/models/staging/stg_history_assets.sql +++ b/models/staging/stg_history_assets.sql @@ -1,8 +1,3 @@ -{{ config( - tags = ["enriched_history_operations"] - ) -}} - /* This query prepares the assets of each load for deduplication, in order to guarantee a new asset won't be loaded twice */ with diff --git a/models/staging/stg_history_effects.sql b/models/staging/stg_history_effects.sql index 72685b1..917e82a 100644 --- a/models/staging/stg_history_effects.sql +++ b/models/staging/stg_history_effects.sql @@ -1,8 +1,3 @@ -{{ config( - tags = ["enriched_history_operations"] - ) -}} - with raw_table as ( select * diff --git a/models/staging/stg_history_ledgers.sql b/models/staging/stg_history_ledgers.sql index 362c64c..1da1229 100644 --- a/models/staging/stg_history_ledgers.sql +++ b/models/staging/stg_history_ledgers.sql @@ -1,8 +1,3 @@ -{{ config( - tags = ["enriched_history_operations"] - ) -}} - with raw_table as ( select * diff --git a/models/staging/stg_history_operations.sql b/models/staging/stg_history_operations.sql index 01a608c..e30f357 100644 --- a/models/staging/stg_history_operations.sql +++ b/models/staging/stg_history_operations.sql @@ -1,8 +1,3 @@ -{{ config( - tags = ["enriched_history_operations"] - ) -}} - with raw_table as ( select * diff --git a/models/staging/stg_history_trades.sql b/models/staging/stg_history_trades.sql index ee144cd..de3db8c 100644 --- a/models/staging/stg_history_trades.sql +++ b/models/staging/stg_history_trades.sql @@ -1,8 +1,3 @@ -{{ config( - tags = ["enriched_history_operations"] - ) -}} - with raw_table as ( select * diff --git a/models/staging/stg_history_transactions.sql b/models/staging/stg_history_transactions.sql index b856262..e429f43 100644 --- a/models/staging/stg_history_transactions.sql +++ b/models/staging/stg_history_transactions.sql @@ -1,8 +1,3 @@ -{{ config( - tags = ["enriched_history_operations"] - ) -}} - with raw_table as ( select * diff --git a/models/staging/stg_liquidity_pools.sql b/models/staging/stg_liquidity_pools.sql index cac493e..91649e6 100644 --- a/models/staging/stg_liquidity_pools.sql +++ b/models/staging/stg_liquidity_pools.sql @@ -1,8 +1,3 @@ -{{ config( - tags = ["enriched_history_operations"] - ) -}} - with raw_table as ( select * diff --git a/models/staging/stg_offers.sql b/models/staging/stg_offers.sql index c3f8aeb..116c31e 100644 --- a/models/staging/stg_offers.sql +++ b/models/staging/stg_offers.sql @@ -1,8 +1,3 @@ -{{ config( - tags = ["enriched_history_operations"] - ) -}} - with raw_table as ( select * diff --git a/models/staging/stg_trust_lines.sql b/models/staging/stg_trust_lines.sql index 6a16b4e..4f5f009 100644 --- a/models/staging/stg_trust_lines.sql +++ b/models/staging/stg_trust_lines.sql @@ -1,8 +1,3 @@ -{{ config( - tags = ["enriched_history_operations"] - ) -}} - with raw_table as ( select * diff --git a/models/staging/stg_ttl.sql b/models/staging/stg_ttl.sql index 9d6383f..417c097 100644 --- a/models/staging/stg_ttl.sql +++ b/models/staging/stg_ttl.sql @@ -1,8 +1,3 @@ -{{ config( - tags = ["enriched_history_operations"] - ) -}} - with raw_table as ( select *