Closed daissatou2 closed 2 years ago
@daissatou2
sales
maybe based on sample_id
(cc @aleksa-krolls ?)L13
https://www.openfn.org/projects/p5yaxp/runs/06166a47-0bee-7889-965a-b01d1cea799e@daissatou2 re: 1 - let's talk about what makes a tbl_wildmeat_market
record unique if we're looking at state: https://www.openfn.org/projects/p5yaxp/messages/06102bae-d000-74e0-9d00-89c8b2c66ad1
Describe the bug
Bug 1: It looks like your changes fixed the
_id
error from this morning but now this error is happening.Bug 2: We are still attempting to insert a null value for
market_id
when themarket
has not been found in thetbl_market
. Can you test if the changes you made this afternoon are working in prod? You can rerun this link.To Reproduce
expression.js
Link to the job itself in Github: https://github.com/OpenFn/wcs-wildmeat/blob/master/jobs/2.c.market.js
state.json
Postgres DB
: See LP Wildmeat Postgres Transitional DB (WCS)To test/resolve