charley_guillaume
06/25/2021, 10:12 AMstate.json file in order to see that the state is being written. Unfortunately, I have the feeling that nothing is accomplished.
I'm using the following code:
singer.bookmarks.write_bookmark(self.state, self.name+"_"+str(id), self.replication_key, lastupdatetime)
singer.write_state(self.state)
but nothin is written in the end.
Can you help me out?pablo_seibelt
06/25/2021, 1:13 PMedward_smith
06/25/2021, 1:18 PM.meltano/meltano.db. After a run completes, a state.json file is written to .meltano/run/elt/LOADER_NAME/RUN_ID/state.jsoncharley_guillaume
06/25/2021, 1:56 PMedward_smith
06/25/2021, 2:02 PMpablo_seibelt
06/25/2021, 2:03 PMpablo_seibelt
06/25/2021, 2:03 PMcharley_guillaume
06/25/2021, 2:05 PMcharley_guillaume
06/25/2021, 2:05 PMpablo_seibelt
06/25/2021, 2:05 PMpablo_seibelt
06/25/2021, 2:06 PMcharley_guillaume
06/25/2021, 2:15 PMcharley_guillaume
06/25/2021, 2:15 PMcharley_guillaume
06/25/2021, 2:16 PMpablo_seibelt
06/25/2021, 7:00 PMpablo_seibelt
06/25/2021, 7:01 PMcharley_guillaume
06/28/2021, 9:17 AMpablo_seibelt
06/28/2021, 12:37 PMcharley_guillaume
06/28/2021, 12:40 PMcharley_guillaume
06/28/2021, 12:53 PMpablo_seibelt
06/28/2021, 2:23 PMpablo_seibelt
06/28/2021, 2:24 PMcharley_guillaume
06/28/2021, 4:12 PMcharley_guillaume
06/29/2021, 10:52 AM{"type": "STATE", "value": {"bookmarks": {"contacts_6534": {"updateDateTime": "2021-01-19T10:19:09.92"}, "contacts_6837": {"updateDateTime": "2021-06-28T15:28:53.097"}, "contacts_6856": {"updateDateTime": "2020-07-27T12:33:15.81"}, "contacts_6859": {"updateDateTime": "2021-06-05T16:31:33.003"}, "contacts_6860": {"updateDateTime": "2021-05-21T12:16:28.58"}, "contacts_6861": {"updateDateTime": "2020-06-16T19:39:22.323"}}}}pablo_seibelt
06/29/2021, 1:49 PMaaronsteers
06/29/2021, 2:29 PMmeltano elt. https://meltano.com/docs/command-line-interface.html#eltcharley_guillaume
06/29/2021, 2:30 PMNo state was found, complete importedgar_ramirez_mondragon
06/29/2021, 2:44 PMstate capability?
extractors:
- name: tap-whise
pip_url: 'git+<https://github.com/we-invest-real-estate/tap-whise.git>'
capabilities:
- catalog
- discover
- statecharley_guillaume
06/29/2021, 2:50 PMname: tap-whise
namespace: tap_whise
pip_url: git+<https://github.com/we-invest-real-estate/tap-whise.git>
executable: tap-whise
capabilities:
- catalog
- discover
- statedouwe_maan
06/29/2021, 3:10 PMmeltano --log-level=debug elt …, do you see the state output both with a tap-whise (out) prefix, and a target-<foo> (out) prefix? The tap writes the state onto stdout, which is picked up by the target on stdin, which is then expected to write it on its own stdout where it can be picked up by Meltano.charley_guillaume
06/29/2021, 3:27 PMdouwe_maan
06/29/2021, 3:28 PMtarget-postgres (out) lines, then target-postgres isn’t generating output, which would explain why Meltano isn’t seeing the state. But that’d be odd — target-postgres definitely supports state.charley_guillaume
06/29/2021, 3:30 PMdouwe_maan
06/29/2021, 3:32 PM.meltano/logs/elt/<job_id>/<run_id>/elt.log 🙂charley_guillaume
06/29/2021, 3:35 PMdouwe_maan
06/29/2021, 3:35 PMcharley_guillaume
06/29/2021, 3:38 PMdouwe_maan
06/29/2021, 3:39 PMedward_smith
06/29/2021, 3:53 PMcharley_guillaume
06/29/2021, 5:31 PMcharley_guillaume
06/29/2021, 5:31 PMdouwe_maan
06/29/2021, 5:34 PMtarget-postgres log lines about the data being loaded, even if you’re not seeing any target-postgres (out)? I assume you are seeing the tap-whise (out) lines for all the messages including STATE ?charley_guillaume
06/29/2021, 5:58 PMtap-whise (out) information with the STATE messagecharley_guillaume
07/01/2021, 7:45 AMtap-whise (out).
I retried the meltano postgres target and it still do not register the bookmark although I get the tap-whise (out) | {"type": "STATE", "value": {"bookmarks [...]. I have no clue what I should do nowcharley_guillaume
07/01/2021, 8:46 AMtarget-postgres | INFO Loading 16 rows into 'offices'edward_smith
07/01/2021, 1:10 PMdouwe_maan
07/01/2021, 2:48 PMnull value in your column, and all three are failing to forward the state message, I think we can assume that the targets are behaving correctly and that there is some issue with your tap. Can you share a snippet of out tap output with the full SCHEMA, RECORD, and STATE messages?charley_guillaume
07/12/2021, 12:43 PMdouwe_maan
07/12/2021, 2:38 PMedward_smith
07/12/2021, 3:01 PMwrite_bookmark you should be passing a stream name, but you are passing the name + str(id). Is it possible that this mismatch between stream names caueses the state message to be ignored?edgar_ramirez_mondragon
07/12/2021, 3:11 PM"contacts" and "contacts_6534"?charley_guillaume
07/12/2021, 3:18 PMcharley_guillaume
07/12/2021, 3:18 PMcharley_guillaume
07/12/2021, 3:19 PMaaronsteers
07/12/2021, 4:23 PMcharley_guillaume
07/12/2021, 4:49 PMcharley_guillaume
07/13/2021, 1:59 PMcharley_guillaume
07/15/2021, 10:57 AMcharley_guillaume
07/16/2021, 1:31 PMcharley_guillaume
07/16/2021, 3:13 PMaaronsteers
07/16/2021, 3:18 PMcharley_guillaume
07/16/2021, 3:21 PMtarget-postgres | INFO Loading 90 rows into 'representatives'
target-postgres | INFO COPY representatives_temp ("commission", "commission_unit", "direct_line", "email", "first_name", "id", "mobile", "name", "office_id", "picture_url", "synchronization_date", "update_date_time") FROM STDIN WITH (FORMAT CSV, ESCAPE '\')
target-postgres | INFO UPDATE 0
target-postgres | INFO INSERT 0 90
Here are the 2 messages I get about that streamedward_smith
07/16/2021, 3:22 PMedward_smith
07/16/2021, 3:23 PMcharley_guillaume
07/16/2021, 3:31 PMaaronsteers
07/16/2021, 3:36 PMcharley_guillaume
07/16/2021, 3:39 PMaaronsteers
07/16/2021, 3:42 PMcharley_guillaume
07/22/2021, 9:36 AMcharley_guillaume
07/22/2021, 10:00 AM