Skip to content

Commit

Permalink
move balance filter downstream
Browse files Browse the repository at this point in the history
  • Loading branch information
alexwes committed Nov 25, 2024
1 parent 659c55c commit 89c70b5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion macros/rwa/rwa_balances.sql
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,6 @@ with
left join {{ ref( "fact_ousg_prices") }} o
on st.date = o.date
and st.symbol = 'OUSG'
where rwa_supply_native >= 1e-9
)
select
date
Expand Down
1 change: 1 addition & 0 deletions macros/rwa/rwa_supply_by_date_and_chain.sql
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ with rwa_balances as (
, sum(rwa_supply_native) as rwa_supply_native
, sum(rwa_supply_usd) as rwa_supply_usd
from {{ ref("fact_" ~ chain ~ "_rwa_balances") }}
where rwa_supply_native >= 1e-9
group by 1, 2, 3
)
select
Expand Down

0 comments on commit 89c70b5

Please sign in to comment.