From ab7af8d2ed75a7dd9e159185cfc45e373e63da72 Mon Sep 17 00:00:00 2001 From: Paul Trowbridge Date: Tue, 13 Apr 2021 16:10:04 -0400 Subject: [PATCH] redefine segment --- build/merge_actuals_pool.sql | 3 ++- build/snap_itemm_pool.sql | 3 ++- route_sql/new_basket.sql | 3 ++- route_sql/swap_cust.sql | 3 ++- route_sql/swap_post.sql | 3 ++- 5 files changed, 10 insertions(+), 5 deletions(-) diff --git a/build/merge_actuals_pool.sql b/build/merge_actuals_pool.sql index fcf2be9..d57a96b 100644 --- a/build/merge_actuals_pool.sql +++ b/build/merge_actuals_pool.sql @@ -23,7 +23,8 @@ repc AS ( FROM ( VALUES - ('1CU','Retail'), + ('1SU','Sustainable'), + ('1CU','Sustainable'), ('1GR','Greenhouse'), ('1NU','Nursery'), ('1RE','Retail'), diff --git a/build/snap_itemm_pool.sql b/build/snap_itemm_pool.sql index 7ae21db..92723cb 100644 --- a/build/snap_itemm_pool.sql +++ b/build/snap_itemm_pool.sql @@ -8,7 +8,8 @@ SEG AS ( FROM ( VALUES - ('1CU','Retail'), + ('1SU','Sustainable'), + ('1CU','Sustainable'), ('1GR','Greenhouse'), ('1NU','Nursery'), ('1RE','Retail'), diff --git a/route_sql/new_basket.sql b/route_sql/new_basket.sql index 37f1c77..89c8553 100644 --- a/route_sql/new_basket.sql +++ b/route_sql/new_basket.sql @@ -53,7 +53,8 @@ target AS (select $$replace_request$$::json def) FROM ( VALUES - ('1CU','Retail'), + ('1SU','Sustainable'), + ('1CU','Sustainable'), ('1GR','Greenhouse'), ('1NU','Nursery'), ('1RE','Retail'), diff --git a/route_sql/swap_cust.sql b/route_sql/swap_cust.sql index 863c37e..56e2f65 100644 --- a/route_sql/swap_cust.sql +++ b/route_sql/swap_cust.sql @@ -37,7 +37,8 @@ target AS (SELECT $$swap_doc$$::jsonb swap) FROM ( VALUES - ('1CU','Retail'), + ('1SU','Sustainable'), + ('1CU','Sustainable'), ('1GR','Greenhouse'), ('1NU','Nursery'), ('1RE','Retail'), diff --git a/route_sql/swap_post.sql b/route_sql/swap_post.sql index 13bdc43..3f66b70 100644 --- a/route_sql/swap_post.sql +++ b/route_sql/swap_post.sql @@ -17,7 +17,8 @@ target AS (SELECT $$swap_doc$$::jsonb swap) FROM ( VALUES - ('1CU','Retail'), + ('1CU','Sustainable'), + ('1SU','Sustainable'), ('1GR','Greenhouse'), ('1NU','Nursery'), ('1RE','Retail'),