From f5d464677e057b8c07f719513fa79070277bbb1c Mon Sep 17 00:00:00 2001 From: Paul Trowbridge Date: Mon, 11 May 2020 20:54:35 -0400 Subject: [PATCH] add tie-out check for post-conversion --- build/check_osmf_match.sql | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 build/check_osmf_match.sql diff --git a/build/check_osmf_match.sql b/build/check_osmf_match.sql new file mode 100644 index 0000000..fda0286 --- /dev/null +++ b/build/check_osmf_match.sql @@ -0,0 +1,22 @@ +SELECT + order_season + ,sum(value_usd) value_usd +FROM + rlarp.osm_pool +WHERE + order_season = 2021 + --AND version = 'b21' +GROUP BY + order_season +UNION ALL +SELECT + oseas + ,sum(fb_val_loc * r_rate) value_usd +FROM + rlarp.osmf_dev +WHERE + oseas = 2021 + AND version = 'b21' +GROUP BY + oseas +