Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove next_update col and refresh all balances #7673

Merged
merged 5 commits into from
Mar 25, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions dbt_macros/shared/balances_incremental_subset_daily.sql
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,7 @@ select
b.token_id,
b.balance,
b.balance * p.price as balance_usd,
b.last_updated,
b.next_update
b.last_updated
from(
select * from forward_fill
where balance > 0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
)
}}

-- trigger CI

with
stablecoin_tokens_total as (
select distinct
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,7 @@ select
b.token_id,
b.balance,
b.balance_usd,
b.last_updated,
b.next_update
b.last_updated
from balances b
-- left join tokens t
-- on b.token_address = t.token_address
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,3 @@ models:
- &last_updated
name: last_updated
description: "UTC timestamp when balance was last updated"
- &next_update
name: next_update
description: "UTC timestamp when balance is next updated"
Loading