Skip to content
Snippets Groups Projects
Commit 6093b61f authored by Michal Zander's avatar Michal Zander Committed by Dan Notestein
Browse files

Remove materialized CTE from daily and montly aggregation

parent 58a4e8d9
No related branches found
No related tags found
1 merge request!169Merge develop
Pipeline #117574 passed
......@@ -188,7 +188,7 @@ RETURN QUERY (
ROW_NUMBER() OVER (ORDER BY date) AS row_num
FROM date_series
),
get_daily_aggregation AS MATERIALIZED (
get_daily_aggregation AS (
SELECT
bh.account,
bh.nai,
......@@ -290,7 +290,7 @@ RETURN QUERY (
ROW_NUMBER() OVER (ORDER BY date) AS row_num
FROM date_series
),
get_montly_aggregation AS MATERIALIZED (
get_montly_aggregation AS (
SELECT
bh.account,
bh.nai,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment