powerful-businessperson-37571
03/30/2021, 8:24 PMdocker-compose run meltano elt tap-github target-sqlite --job_id=github-to-sqlite
and it looks like everything went fine, but it runs super fast and no data shows up in the sqlite db.proud-pillow-55935
03/30/2021, 8:34 PMripe-musician-59933
03/30/2021, 8:36 PMpowerful-businessperson-37571
03/30/2021, 8:37 PM➜ testing_initative git:(master) ✗ docker-compose run meltano elt tap-github target-sqlite --job_id=github-to-sqlite
Creating meltano-projects_meltano_run ... done
meltano | Running extract & load...
meltano | Found state from 2021-03-30 20:01:45.535658.
meltano | No state was found, complete import.
tap-github | INFO Starting sync of repository: tactivos/murally
meltano | Incremental state has been updated at 2021-03-30 20:20:14.065573.
meltano | Extract & load complete!
meltano | Transformation skipped.
version: 1
send_anonymous_usage_stats: true
project_id: bcba3a22-6342-48fd-9647-c73b7a598a18
plugins:
extractors:
- name: tap-github
namespace: tap_github
pip_url: tap-github
executable: tap-github
capabilities:
- catalog
- discover
- properties
- state
settings:
- name: access_token
- name: repository
config:
access_token: TAP_GITHUB_ACCESS_TOKEN
repository: tactivos/murally
select:
- pull_requests.id
- pull_request_reviews.state
- pull_request_reviews.commit_id
- projects.id
- projects.url
- review_comments.base
- review_comments.pull_request_review_id
- review_comments.user
- reviews.submitted_at
- reviews.user
loaders:
- name: target-sqlite
variant: meltano
pip_url: git+<https://gitlab.com/meltano/target-sqlite.git>
invoke
them per the tutorial.ripe-musician-59933
03/30/2021, 8:39 PMmeltano --log-level=debug elt
to see if any RECORD messages actually make it out of the tap?powerful-businessperson-37571
03/30/2021, 8:39 PMripe-musician-59933
03/30/2021, 8:40 PMtap-github (out)
powerful-businessperson-37571
03/30/2021, 8:42 PMripe-musician-59933
03/30/2021, 8:42 PMtap-github (out) | [0m{"type": "STATE", "value": {}}
powerful-businessperson-37571
03/30/2021, 8:42 PMripe-musician-59933
03/30/2021, 8:43 PMcapabilities:
- catalog
- discover
- properties
- state
You should have either catalog or properties, not both 🙂 It looks like tap-github uses properties: https://github.com/singer-io/tap-github/blob/master/tap_github/__init__.py#L982Where is the state stored?In the system DB: https://meltano.com/docs/project.html#system-database
powerful-businessperson-37571
03/30/2021, 8:44 PMmeltano | Incremental state has been updated at 2021-03-30 20:45:14.831306.
meltano | Extraction failed (1): requests.exceptions.HTTPError: 410 Client Error: Gone for url: <https://api.github.com/repos/tactivos/murally/projects?sort=created_at&direction=desc>
meltano | ELT could not be completed: Extractor failed
ELT could not be completed: Extractor failed
ERROR: 1
ripe-musician-59933
03/30/2021, 8:45 PMpowerful-businessperson-37571
03/30/2021, 8:47 PMripe-musician-59933
03/30/2021, 8:48 PMpowerful-businessperson-37571
03/30/2021, 8:48 PMripe-musician-59933
03/30/2021, 8:50 PMpowerful-businessperson-37571
03/30/2021, 8:50 PMripe-musician-59933
03/30/2021, 8:51 PMpowerful-businessperson-37571
03/30/2021, 8:51 PMripe-musician-59933
03/30/2021, 8:52 PMpowerful-businessperson-37571
03/30/2021, 8:52 PMripe-musician-59933
03/30/2021, 8:53 PMmeltano elt
using --state state.json
powerful-businessperson-37571
03/30/2021, 8:54 PMdrwxr-xr-x 3 root root 96 Mar 30 20:55 .
drwxr-xr-x 1 root root 4096 Mar 30 20:55 ..
-rw-r--r-- 1 root root 2600960 Mar 30 20:54 testing_initiative.db
ripe-musician-59933
03/30/2021, 8:55 PMpowerful-businessperson-37571
03/30/2021, 8:55 PMripe-musician-59933
03/30/2021, 9:02 PM