diff --git a/build/build_stage.sql b/build/build_stage.sql index db18bb6..f14d8c3 100644 --- a/build/build_stage.sql +++ b/build/build_stage.sql @@ -6,8 +6,8 @@ TRUNCATE TABLE rlarp.osmf_dev; DROP TABLE IF EXISTS tdr; CREATE TEMP TABLE tdr AS ( SELECT - DATERANGE('2020-05-01','2021-05-01','[)') drange - ,DATERANGE(('2020-05-01'::date + '1 year'::interval)::date,('2021-05-01'::date + '1 year'::interval)::date,'[)') repl + DATERANGE('2020-06-01','2021-06-01','[)') drange + ,DATERANGE(('2020-06-01'::date + '1 year'::interval)::date,('2021-06-01'::date + '1 year'::interval)::date,'[)') repl ,'1 year'::interval AS incr ,(SELECT jsonb_agg(x.v) FROM (VALUES('copy'),('actuals'),('actuals_plug')) AS x(v)) iter );