Skip to content

Commit

Permalink
Revert "Untag staging and intermediate models (#114)" (#118)
Browse files Browse the repository at this point in the history
This reverts commit b4ff3fe.
  • Loading branch information
amishas157 authored Nov 13, 2024
1 parent a5d4ebe commit bb1e6a5
Show file tree
Hide file tree
Showing 20 changed files with 88 additions and 4 deletions.
3 changes: 2 additions & 1 deletion models/intermediate/trades/int_trade_agg_day.sql
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{{ config(
cluster_by =["asset_a", "asset_b"]
tags = ["trade_agg"]
, cluster_by =["asset_a", "asset_b"]
)
}}

Expand Down
3 changes: 2 additions & 1 deletion models/intermediate/trades/int_trade_agg_month.sql
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{{ config(
cluster_by =["asset_a", "asset_b"]
tags = ["trade_agg"]
, cluster_by =["asset_a", "asset_b"]
)
}}

Expand Down
3 changes: 2 additions & 1 deletion models/intermediate/trades/int_trade_agg_week.sql
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{{ config(
cluster_by =["asset_a", "asset_b"]
tags = ["trade_agg"]
, cluster_by =["asset_a", "asset_b"]
)
}}

Expand Down
3 changes: 2 additions & 1 deletion models/intermediate/trades/int_trade_agg_year.sql
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{{ config(
cluster_by =["asset_a", "asset_b"]
tags = ["trade_agg"]
, cluster_by =["asset_a", "asset_b"]
)
}}

Expand Down
5 changes: 5 additions & 0 deletions models/staging/stg_account_signers.sql
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
{{ config(
tags = ["enriched_history_operations"]
)
}}

with
raw_table as (
select *
Expand Down
5 changes: 5 additions & 0 deletions models/staging/stg_accounts.sql
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
{{ config(
tags = ["enriched_history_operations"]
)
}}

with
raw_table as (
select *
Expand Down
5 changes: 5 additions & 0 deletions models/staging/stg_claimable_balances.sql
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
{{ config(
tags = ["enriched_history_operations"]
)
}}

with
raw_table as (
select *
Expand Down
5 changes: 5 additions & 0 deletions models/staging/stg_config_settings.sql
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
{{ config(
tags = ["enriched_history_operations"]
)
}}

with
raw_table as (
select *
Expand Down
5 changes: 5 additions & 0 deletions models/staging/stg_contract_code.sql
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
{{ config(
tags = ["enriched_history_operations"]
)
}}

with
raw_table as (
select *
Expand Down
5 changes: 5 additions & 0 deletions models/staging/stg_contract_data.sql
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
{{ config(
tags = ["enriched_history_operations"]
)
}}

with
raw_table as (
select *
Expand Down
5 changes: 5 additions & 0 deletions models/staging/stg_history_assets.sql
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
{{ 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
Expand Down
5 changes: 5 additions & 0 deletions models/staging/stg_history_effects.sql
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
{{ config(
tags = ["enriched_history_operations"]
)
}}

with
raw_table as (
select *
Expand Down
5 changes: 5 additions & 0 deletions models/staging/stg_history_ledgers.sql
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
{{ config(
tags = ["enriched_history_operations"]
)
}}

with
raw_table as (
select *
Expand Down
5 changes: 5 additions & 0 deletions models/staging/stg_history_operations.sql
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
{{ config(
tags = ["enriched_history_operations"]
)
}}

with
raw_table as (
select *
Expand Down
5 changes: 5 additions & 0 deletions models/staging/stg_history_trades.sql
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
{{ config(
tags = ["enriched_history_operations"]
)
}}

with
raw_table as (
select *
Expand Down
5 changes: 5 additions & 0 deletions models/staging/stg_history_transactions.sql
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
{{ config(
tags = ["enriched_history_operations"]
)
}}

with
raw_table as (
select *
Expand Down
5 changes: 5 additions & 0 deletions models/staging/stg_liquidity_pools.sql
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
{{ config(
tags = ["enriched_history_operations"]
)
}}

with
raw_table as (
select *
Expand Down
5 changes: 5 additions & 0 deletions models/staging/stg_offers.sql
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
{{ config(
tags = ["enriched_history_operations"]
)
}}

with
raw_table as (
select *
Expand Down
5 changes: 5 additions & 0 deletions models/staging/stg_trust_lines.sql
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
{{ config(
tags = ["enriched_history_operations"]
)
}}

with
raw_table as (
select *
Expand Down
5 changes: 5 additions & 0 deletions models/staging/stg_ttl.sql
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
{{ config(
tags = ["enriched_history_operations"]
)
}}

with
raw_table as (
select *
Expand Down

0 comments on commit bb1e6a5

Please sign in to comment.