Skip to content

Commit

Permalink
converting current_date to to_date(sysdate()) (#422)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexwes authored and SebMelendez01 committed Sep 9, 2024
1 parent d73f0ec commit cd3e31e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion models/projects/lido/core/ez_lido_metrics.sql
Original file line number Diff line number Diff line change
Expand Up @@ -106,4 +106,4 @@ left join net_treasury_cte nt using(date)
left join token_incentives_cte ti using(date)
left join price_data p using(date)
left join tokenholder_cte th using(date)
where s.date < current_date()
where s.date < to_date(sysdate())
2 changes: 1 addition & 1 deletion models/projects/lido/core/ez_lido_metrics_by_chain.sql
Original file line number Diff line number Diff line change
Expand Up @@ -113,4 +113,4 @@ left join net_treasury_cte nt using(date)
left join token_incentives_cte ti using(date)
left join price_data p using(date)
left join tokenholder_cte th using(date)
where s.date < current_date()
where s.date < to_date(sysdate())
2 changes: 1 addition & 1 deletion models/projects/lido/core/ez_lido_metrics_by_token.sql
Original file line number Diff line number Diff line change
Expand Up @@ -106,4 +106,4 @@ FULL JOIN net_treasury_cte nt USING(date, token)
FULL JOIN token_incentives_cte ti USING(date, token)
LEFT JOIN steth_outstanding sto USING(date, token)
LEFT JOIN eth_deposited s USING(date, token)
WHERE date < CURRENT_DATE()
WHERE date < to_date(sysdate())

0 comments on commit cd3e31e

Please sign in to comment.