increment iteration name to reflect period

This commit is contained in:
Paul Trowbridge 2021-08-03 13:33:37 -04:00
parent 2253d65047
commit a66ec61aaf

View File

@ -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