Commit Graph

30 Commits

Author SHA1 Message Date
Paul Trowbridge
caf3ffe3b4 build template for applying gl on the server side per item with offset 2017-11-01 01:12:33 -04:00
Paul Trowbridge
11aa70684d merge wk 2017-10-26 18:46:42 -04:00
Paul Trowbridge
21c3f74de0 couple changes 2017-10-26 00:26:20 -04:00
Paul Trowbridge
65ee6d703b modify to print log info 2017-10-25 10:44:32 -04:00
Paul Trowbridge
6056491ace merge srce changes from pt branch 2017-10-25 09:07:51 -04:00
Paul Trowbridge
ed1a903718 finish out logging the inserts and getting them into the main do block 2017-10-25 00:47:26 -04:00
Paul Trowbridge
937cf38af1 updates in progress 2017-10-24 17:37:20 -04:00
Paul Trowbridge
51fbec1244 push inserts into do block so they can consume local variables, need to setup log inserts 2017-10-23 10:12:37 -04:00
Paul Trowbridge
41cf7af55b merge wk for srce 2017-10-19 22:13:28 -04:00
Paul Trowbridge
e68b3e0349 revise import to work with a set of unique keys in determining which rows to insert. prior used many of the same key, creating large duplication on join to tps 2017-10-19 13:10:25 -04:00
Paul Trowbridge
2a2652e397 qualify the order by id 2017-10-19 11:31:54 -04:00
Paul Trowbridge
f0838b28c0 retain the id number in the json rec, and order by id asc before inserting to trans. if mult records per key, this helps sort 2017-10-19 11:22:03 -04:00
Paul Trowbridge
c5a9dfe0db add order by clause on transactions range, add hungtington transactions, add data type to match sources 2017-10-19 00:42:30 -04:00
Paul Trowbridge
419017f98c switch to PNCC 2017-10-18 14:11:57 -04:00
Paul Trowbridge
748d6ddb3c merge summary of records not inserted from pt branch 2017-10-18 14:10:07 -04:00
Paul Trowbridge
a18774473b move exception union into CTE and summarize at end for records not inserted 2017-10-18 02:07:33 -04:00
Paul Trowbridge
160002404c fix conflicts 2017-10-18 01:48:22 -04:00
Paul Trowbridge
c582d5f176 merge from c9 2017-10-18 01:45:44 -04:00
Paul Trowbridge
4766f157fc get rid of id key in json, remove constraint 2017-10-18 01:40:09 -04:00
Paul Trowbridge
63a3bd3b97 snap to pt branch on srce.pgsql 2017-10-18 01:00:10 -04:00
Paul Trowbridge
c123cbfa84 add insert as part of with a return rows not inserted, probably needs modified to show the keys not inserted and sorted 2017-10-18 00:55:00 -04:00
Paul Trowbridge
ac4d9f68d5 add link to tps trans to find any potential import conflicts 2017-10-16 00:14:05 -04:00
Paul Trowbridge
668ca9f44a update data from dcard to reflect to 2 field unique constrain, aggregate several unique constraonts back to 1 row per id 2017-10-15 23:31:51 -04:00
Paul Trowbridge
8bbf575f93 get rid of insert 2017-10-15 13:05:20 -04:00
Paul Trowbridge
f6ab0e42f5 change COPY command to dynamic due to column list 2017-10-14 01:48:13 -04:00
Paul Trowbridge
a0b3173741 add another variable to collect column list, add a serial column to temp, copy using column list, and then build json object based on json defn 2017-10-14 01:40:26 -04:00
Paul Trowbridge
1a5aa39651 get rid of commented json sample, swap for pt branch files 2017-10-13 02:40:23 -04:00
Paul Trowbridge
ad5a178873 formatting 2017-10-11 00:29:38 -04:00
Paul Trowbridge
39d734bb41 unwrap the newly created json arrangement and dynamically create a temp table 2017-10-11 00:17:21 -04:00
Paul Trowbridge
08c95d1595 add files clean up 2017-09-19 10:37:53 -04:00