From 32c34a60bf6c4e02363051cea630939ac25e77e0 Mon Sep 17 00:00:00 2001 From: sydneynotthecity Date: Wed, 8 Jan 2025 09:30:52 -0600 Subject: [PATCH] Revert recency tags from source only (#126) --- models/staging/stg_account_signers.yml | 1 - models/staging/stg_accounts.yml | 1 - models/staging/stg_claimable_balances.yml | 1 - models/staging/stg_contract_data.yml | 1 - models/staging/stg_history_assets.yml | 1 - models/staging/stg_history_effects.yml | 1 - models/staging/stg_history_ledgers.yml | 1 - models/staging/stg_history_operations.yml | 1 - models/staging/stg_history_trades.yml | 1 - models/staging/stg_history_transactions.yml | 1 - models/staging/stg_liquidity_pools.yml | 1 - models/staging/stg_offers.yml | 1 - models/staging/stg_trust_lines.yml | 1 - models/staging/stg_ttl.yml | 1 - 14 files changed, 14 deletions(-) diff --git a/models/staging/stg_account_signers.yml b/models/staging/stg_account_signers.yml index 859709b..8fbb95c 100644 --- a/models/staging/stg_account_signers.yml +++ b/models/staging/stg_account_signers.yml @@ -4,7 +4,6 @@ models: - name: stg_account_signers tests: - dbt_utils.recency: - tags: [recency] datepart: hour field: cast(closed_at as timestamp) interval: '{{ 1 if target.name == "prod" else 24 }}' diff --git a/models/staging/stg_accounts.yml b/models/staging/stg_accounts.yml index c073b5e..18315a1 100644 --- a/models/staging/stg_accounts.yml +++ b/models/staging/stg_accounts.yml @@ -4,7 +4,6 @@ models: - name: stg_accounts tests: - dbt_utils.recency: - tags: [recency] datepart: hour field: cast(closed_at as timestamp) interval: '{{ 1 if target.name == "prod" else 24 }}' diff --git a/models/staging/stg_claimable_balances.yml b/models/staging/stg_claimable_balances.yml index e7e1475..711f6dd 100644 --- a/models/staging/stg_claimable_balances.yml +++ b/models/staging/stg_claimable_balances.yml @@ -4,7 +4,6 @@ models: - name: stg_claimable_balances tests: - dbt_utils.recency: - tags: [recency] datepart: hour field: cast(closed_at as timestamp) interval: '{{ 1 if target.name == "prod" else 48 }}' diff --git a/models/staging/stg_contract_data.yml b/models/staging/stg_contract_data.yml index 30b2df0..d1af857 100644 --- a/models/staging/stg_contract_data.yml +++ b/models/staging/stg_contract_data.yml @@ -4,7 +4,6 @@ models: - name: stg_contract_data tests: - dbt_utils.recency: - tags: [recency] datepart: hour field: cast(closed_at as timestamp) interval: '{{ 1 if target.name == "prod" else 48 }}' diff --git a/models/staging/stg_history_assets.yml b/models/staging/stg_history_assets.yml index 6b5ca8f..9d020bb 100644 --- a/models/staging/stg_history_assets.yml +++ b/models/staging/stg_history_assets.yml @@ -4,7 +4,6 @@ models: - name: stg_history_assets tests: - dbt_utils.recency: - tags: [recency] datepart: hour field: cast(closed_at as timestamp) interval: '{{ 3 if target.name == "prod" else 24 }}' diff --git a/models/staging/stg_history_effects.yml b/models/staging/stg_history_effects.yml index 1b29cd2..74b834d 100644 --- a/models/staging/stg_history_effects.yml +++ b/models/staging/stg_history_effects.yml @@ -4,7 +4,6 @@ models: - name: stg_history_effects tests: - dbt_utils.recency: - tags: [recency] datepart: hour field: cast(closed_at as timestamp) interval: '{{ 1 if target.name == "prod" else 24 }}' diff --git a/models/staging/stg_history_ledgers.yml b/models/staging/stg_history_ledgers.yml index d7d6814..6e69960 100644 --- a/models/staging/stg_history_ledgers.yml +++ b/models/staging/stg_history_ledgers.yml @@ -4,7 +4,6 @@ models: - name: stg_history_ledgers tests: - dbt_utils.recency: - tags: [recency] datepart: hour field: cast(closed_at as timestamp) interval: '{{ 1 if target.name == "prod" else 24 }}' diff --git a/models/staging/stg_history_operations.yml b/models/staging/stg_history_operations.yml index 2798489..5470b41 100644 --- a/models/staging/stg_history_operations.yml +++ b/models/staging/stg_history_operations.yml @@ -4,7 +4,6 @@ models: - name: stg_history_operations tests: - dbt_utils.recency: - tags: [recency] datepart: hour field: cast(closed_at as timestamp) interval: '{{ 1 if target.name == "prod" else 24 }}' diff --git a/models/staging/stg_history_trades.yml b/models/staging/stg_history_trades.yml index c01cfda..6f19450 100644 --- a/models/staging/stg_history_trades.yml +++ b/models/staging/stg_history_trades.yml @@ -4,7 +4,6 @@ models: - name: stg_history_trades tests: - dbt_utils.recency: - tags: [recency] datepart: hour field: cast(ledger_closed_at as timestamp) interval: '{{ 1 if target.name == "prod" else 24 }}' diff --git a/models/staging/stg_history_transactions.yml b/models/staging/stg_history_transactions.yml index 587d361..0589dff 100644 --- a/models/staging/stg_history_transactions.yml +++ b/models/staging/stg_history_transactions.yml @@ -4,7 +4,6 @@ models: - name: stg_history_transactions tests: - dbt_utils.recency: - tags: [recency] datepart: hour field: cast(closed_at as timestamp) interval: '{{ 1 if target.name == "prod" else 24 }}' diff --git a/models/staging/stg_liquidity_pools.yml b/models/staging/stg_liquidity_pools.yml index 03a8d0c..39fef6f 100644 --- a/models/staging/stg_liquidity_pools.yml +++ b/models/staging/stg_liquidity_pools.yml @@ -4,7 +4,6 @@ models: - name: stg_liquidity_pools tests: - dbt_utils.recency: - tags: [recency] datepart: hour field: cast(closed_at as timestamp) interval: '{{ 1 if target.name == "prod" else 336}}' diff --git a/models/staging/stg_offers.yml b/models/staging/stg_offers.yml index 0ae7bcd..a635e87 100644 --- a/models/staging/stg_offers.yml +++ b/models/staging/stg_offers.yml @@ -4,7 +4,6 @@ models: - name: stg_offers tests: - dbt_utils.recency: - tags: [recency] datepart: hour field: cast(closed_at as timestamp) interval: '{{ 1 if target.name == "prod" else 24 }}' diff --git a/models/staging/stg_trust_lines.yml b/models/staging/stg_trust_lines.yml index 6393969..68f9a57 100644 --- a/models/staging/stg_trust_lines.yml +++ b/models/staging/stg_trust_lines.yml @@ -4,7 +4,6 @@ models: - name: stg_trust_lines tests: - dbt_utils.recency: - tags: [recency] datepart: hour field: cast(closed_at as timestamp) interval: '{{ 1 if target.name == "prod" else 24 }}' diff --git a/models/staging/stg_ttl.yml b/models/staging/stg_ttl.yml index 740da7a..7621187 100644 --- a/models/staging/stg_ttl.yml +++ b/models/staging/stg_ttl.yml @@ -4,7 +4,6 @@ models: - name: stg_ttl tests: - dbt_utils.recency: - tags: [recency] datepart: hour field: cast(closed_at as timestamp) interval: '{{ 1 if target.name == "prod" else 48 }}'