Skip to content

Commit

Permalink
add lower
Browse files Browse the repository at this point in the history
  • Loading branch information
Tburm committed Dec 26, 2024
1 parent 7867924 commit 371f8cc
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ hourly_rewards as (
select
ts,
pool_id,
collateral_type,
lower(collateral_type) as collateral_type,
sum(rewards_usd) as rewards_usd
from
(
Expand All @@ -197,7 +197,7 @@ hourly_rewards as (
rewards_usd
from pool_rewards
) as all_rewards
group by ts, pool_id, collateral_type
group by ts, pool_id, lower(collateral_type)
),

hourly_returns as (
Expand Down

0 comments on commit 371f8cc

Please sign in to comment.