Skip to content

Commit

Permalink
fix: broken query
Browse files Browse the repository at this point in the history
  • Loading branch information
maxdesalle committed Jan 31, 2025
1 parent b00dc03 commit 04361af
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 47 deletions.
3 changes: 1 addition & 2 deletions queries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ query_ids:
- 4607938 # Flow: Weekly Stream Creation Count Change
- 4646202 # Flow: Number of Created Streams (Past 24 Hours)
- 4646303 # Flow: Chain Usage Distribution
- 4650041 # Flow: Cumulative Stablecoin Volume
- 4646341 # Flow: Share of Stablecoin Streams
- 4606972 # Legacy: Cumulative Stablecoin Volume
- 4607189 # Legacy: Median Stablecoin Deposit
Expand All @@ -36,7 +35,7 @@ query_ids:
- 4650093 # Lockup: Share of Uncancelable and Transferable Streams
- 4650111 # Lockup: Share of Cancelable and Transferable Streams
- 4650134 # Lockup: Share of Uncancelable Streams
- 4650009 # Lockup: Cumulative Stablecoin Volume
- 4650009 # Lockup: Monthly Cumulative Stablecoin Volume
- 4607455 # Lockup: Stream Creation Count (1 Week)
- 4607442 # Lockup: Stream Creation Count (1 Month)
- 4607430 # Lockup: Stream Creation Count (12 Months)
Expand Down
43 changes: 0 additions & 43 deletions queries/lockup:_cumulative_stablecoin____4650041.sql

This file was deleted.

4 changes: 2 additions & 2 deletions queries/lockup:_monthly_cumulative_sta___4650009.sql
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ WITH MONTHLYDEPOSITS AS (
DATE_TRUNC('month', EVT_BLOCK_TIME) AS MONTH_START,
SUM(STABLECOIN_DEPOSIT) AS TOTAL_DEPOSITS
FROM
QUERY_4606918 -- Flow: Deposit Data
QUERY_4580489 -- Lockup: Stream Creation Data
WHERE
EVT_BLOCK_TIME >= DATE_TRUNC('month', CURRENT_DATE) - INTERVAL '12' MONTH
GROUP BY
Expand All @@ -21,7 +21,7 @@ WITH MONTHLYDEPOSITS AS (
INITIALCUMULATIVE AS (
SELECT COALESCE(SUM(STABLECOIN_DEPOSIT), 0) AS STARTING_CUMULATIVE
FROM
QUERY_4606918 -- Flow: Deposit Data
QUERY_4580489 -- Lockup: Stream Creation Data
WHERE
EVT_BLOCK_TIME < DATE_TRUNC('month', CURRENT_DATE) - INTERVAL '12' MONTH
),
Expand Down

0 comments on commit 04361af

Please sign in to comment.