From a66ec61aaf8312007442a704ef495ab53be0dc1d Mon Sep 17 00:00:00 2001 From: Paul Trowbridge Date: Tue, 3 Aug 2021 13:33:37 -0400 Subject: [PATCH] increment iteration name to reflect period --- build/build_rolling.sql | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/build/build_rolling.sql b/build/build_rolling.sql index 897e74e..e3919ee 100644 --- a/build/build_rolling.sql +++ b/build/build_rolling.sql @@ -169,7 +169,7 @@ gld AS ( -----when null, greatest/least is just going to act like coalesce ,greatest(least(o.sdate,gld.edat),gld.sdat) sdate ,ss.ssyr sseas - ,'1+11' AS "version" + ,'2+10' AS "version" ,'plan' iter FROM rlarp.osmp_dev o @@ -332,7 +332,7 @@ gld AS ( -----when null, greatest/least is just going to act like coalesce ,greatest(least(o.sdate,gld.edat),gld.sdat) sdate ,ss.ssyr sseas - ,'1+11' AS "version" + ,'2+10' AS "version" ,'fcst' iter FROM rlarp.osmf_dev o @@ -496,7 +496,7 @@ gld AS ( -----when null, greatest/least is just going to act like coalesce ,greatest(least(o.sdate,gld.edat),gld.sdat) sdate ,ss.ssyr sseas - ,'1+11' "version" + ,'2+10' "version" ,'actuals' iter FROM rlarp.osm_dev o @@ -660,7 +660,7 @@ gld AS ( -----when null, greatest/least is just going to act like coalesce ,o.sdate ,o.sseas - ,'1+11' AS version + ,'2+10' AS version ,'diff' AS iter FROM forecast_basis o @@ -810,7 +810,7 @@ gld AS ( -----when null, greatest/least is just going to act like coalesce ,o.sdate ,o.sseas - ,'1+11' AS version + ,'2+10' AS version ,'diff' AS iter FROM actuals o @@ -960,7 +960,7 @@ gld AS ( ,o.sseas --,o.version --,o.iter - ,'1+11' AS version + ,'2+10' AS version ,'diff' iter FROM diff o