nehil_jain
07/06/2020, 1:41 AMmeltano elt tap-github target-postgres --job_id=github-to-postgres twice. Will the second run start from scratch or where the first one left off?douwe_maan
07/06/2020, 3:22 PMMeltano [...] keeps track of the state of your extraction , so that subsequent pipeline runs with the same job ID will always pick up right where the previous run left off.
nehil_jain
07/06/2020, 3:23 PMdouwe_maan
07/06/2020, 3:25 PMmeltano elt output, are you seeing No state was found, complete import. or Found state from <timestamp> ?douwe_maan
07/06/2020, 3:26 PM.meltano/meltano.db by default (https://meltano.com/docs/production.html#storing-metadata), so if that is getting wiped in between runs for some reason, you would also not see state picked up correctly.nehil_jain
07/06/2020, 3:27 PMnehil_jain
07/06/2020, 11:31 PMid | 3
job_id | gitlab-to-postgres
state | FAIL
started_at | 2020-07-06 22:02:00.864956
ended_at | 2020-07-06 22:37:59.551985
payload | {"error": ""}
payload_flags | 0
run_id | 1ba5fbe0-da8b-4ea6-b360-3a1841584dc7
trigger | cli
This is a row that I see in the dbnehil_jain
07/06/2020, 11:33 PMnehil_jain
07/06/2020, 11:33 PMdouwe_maan
07/06/2020, 11:34 PMdouwe_maan
07/06/2020, 11:35 PMException: Subprocesses didn't exit cleanly: tap(1), target(0)nehil_jain
07/06/2020, 11:36 PMnehil_jain
07/06/2020, 11:41 PMdouwe_maan
07/06/2020, 11:44 PMdouwe_maan
07/06/2020, 11:44 PMnehil_jain
07/07/2020, 12:22 AMnehil_jain
07/07/2020, 1:14 AMtap-github
extractors:
- name: tap-github
namespace: tap_github
pip_url: git+<https://github.com/nehiljain/tap-github.git>
executable: tap-github
capabilities:
- discover
- properties
settings:
- name: access_token
env: TAP_GITHUB_ACCESS_TOKEN
- name: repository
env: TAP_GITHUB_REPOSITORYnehil_jain
07/07/2020, 1:14 AMdouwe_maan
07/07/2020, 3:21 PMmeltano install extractor tap-github should do it! Note that pip will only reinstall the package if the version changed, so make sure your fork has a different version number from the one you used beforenehil_jain
07/07/2020, 3:29 PMdouwe_maan
07/07/2020, 3:32 PMnehil_jain
07/07/2020, 3:33 PMnehil_jain
07/07/2020, 3:37 PM(universal-elt-pipeline) nehiljain@ip-192-168-2-75 ~/s/u/airflow-elt (master)> meltano install extractor tap-github (base)
Installing 1 plugins...
Installing extractor 'tap-github'...
Installed extractor 'tap-github'
this makes me feel it is not installing the tap again from my reponehil_jain
07/07/2020, 3:38 PMdouwe_maan
07/07/2020, 3:39 PMnehil_jain
07/07/2020, 3:39 PMdouwe_maan
07/07/2020, 3:40 PM.meltano/extractors/tap-github/venv/lib/python3.7/site-packages/tap-github and see if the files there match what you expect from your forknehil_jain
07/07/2020, 3:40 PMdouwe_maan
07/07/2020, 3:40 PM.meltano/extractors/tap-github directory!douwe_maan
07/07/2020, 3:40 PMmeltano install extractor tap-github will recreate it 🙂nehil_jain
07/07/2020, 3:40 PMnehil_jain
07/07/2020, 3:40 PMdouwe_maan
07/07/2020, 3:40 PM.meltano and anything inside it can be nuked at any time, which is why it's in .gitignore by default.nehil_jain
07/07/2020, 3:42 PMdouwe_maan
07/07/2020, 3:42 PMnehil_jain
07/07/2020, 3:47 PMdouwe_maan
07/07/2020, 3:49 PM