michael_cooper
08/25/2020, 8:29 PMtap-github
. I'm running both elt
and invoke
in debug mode, and I'm getting a lot of output like this:
DEBUG Visiting CatalogNode.PROPERTY at '.streams[22].schema.properties.commit.properties.committer.properties.date'.
DEBUG Skipping node at '.streams[22].schema.properties.commit.properties.committer.properties.date.format'
In the docs for the tap, it says I need to --discover > properties.json
and I'm wondering if these outputs are because of not running this command?
I've set up the proper values for the config file and have double checked in the tap's config file.douwe_maan
08/25/2020, 8:33 PMmeltano select tap-github --list --all
?michael_cooper
08/25/2020, 8:35 PMselected
or automatic
douwe_maan
08/25/2020, 8:36 PMdouwe_maan
08/25/2020, 8:37 PMtap-github
supports?michael_cooper
08/25/2020, 8:38 PMcatalog
, discover
, properties
, and state
michael_cooper
08/25/2020, 8:40 PMdouwe_maan
08/25/2020, 8:41 PMproperties
is the legacy name of the argument used to provide the catalog file path, while catalog
is the modern name. Meltano needs to know which one a tap supports to invoke it correctly.
If it thinks it supports both, catalog
is preferred, so in your case tap-github
is getting called with --catalog=path/to/catalog.json
. However, according to the readme at https://github.com/singer-io/tap-github, it actually only supports --properties
, so it's currently not getting a catalog at all and therefore it's not extracting anything!michael_cooper
08/25/2020, 8:41 PMmeltano | Running extract & load...
meltano | No state was found, complete import.
tap-github | INFO Starting sync of repository: CoopTang/market2table-be
meltano | Incremental state has been updated at 2020-08-25 20:40:06.243804.
meltano | Extract & load complete!
meltano | Transformation skipped.
douwe_maan
08/25/2020, 8:42 PMcatalog
from capabilities
should fix it 🙂michael_cooper
08/25/2020, 8:42 PMmichael_cooper
08/25/2020, 8:43 PMdouwe_maan
08/25/2020, 8:43 PMdouwe_maan
08/25/2020, 8:44 PM