From 11f591073927f7634f5a41412040782c90f27434 Mon Sep 17 00:00:00 2001 From: Paul Trowbridge Date: Sat, 17 Feb 2018 13:56:52 -0500 Subject: [PATCH] force remap on all srce --- functions/manual_do_map_g_option.pgsql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functions/manual_do_map_g_option.pgsql b/functions/manual_do_map_g_option.pgsql index 4d1efee..fc1c31f 100644 --- a/functions/manual_do_map_g_option.pgsql +++ b/functions/manual_do_map_g_option.pgsql @@ -77,8 +77,8 @@ FROM LEFT JOIN LATERAL regexp_replace(t.rec #>> ((e.v ->> 'key')::text[]), e.v ->> 'regex'::text, e.v ->> 'replace'::text,e.v ->> 'flag') WITH ORDINALITY rp(rp, rn) ON m.regex->>'function' = 'replace' WHERE - t.allj IS NULL - --t.srce = 'PNCC' + --t.allj IS NULL + t.srce = 'DCARD' --rec @> '{"Transaction":"ACH Credits","Transaction":"ACH Debits"}' --rec @> '{"Description":"CHECK 93013270 086129935"}'::jsonb ORDER BY