harsha_aleti
09/28/2020, 1:29 PM$ meltano elt tap-mysql target-postgres --job_id=mysql_to_postges_el
meltano | Running extract & load...
meltano | A catalog file was found, but it will be ignored as the extractor does not advertise the catalog
or properties
capability
target-postgres | /project/.meltano/loaders/target-postgres/venv/lib/python3.6/site-packages/psycopg2/__init__.py144 UserWarning: The psycopg2 wheel package will be renamed from release 2.8; in order to keep installing from binary please use "pip install psycopg2-binary" instead. For details see: <http://initd.org/psycopg/docs/install.html#binary-install-from-pypi>.
target-postgres | """)
tap-mysql | INFO Server Parameters: version: 8.0.21, wait_timeout: 2700, innodb_lock_wait_timeout: 2700, max_allowed_packet: 67108864, interactive_timeout: 28800
tap-mysql | INFO Server SSL Parameters (blank means SSL is not active): [ssl_version: ], [ssl_cipher: ]
tap-mysql | INFO No properties were selected
meltano | Extract & load complete!
meltano | Transformation skippeddouwe_maan
09/28/2020, 3:12 PMtap-mysql
custom plugin definition does not list catalog
or properties
under capabilities
, so the generated catalog/properties file is never passed on to the tap, per these log messages:
A catalog file was found, but it will be ignored as the extractor does not advertise theorcatalog
capabilityproperties
INFO No properties were selectedPer https://github.com/singer-io/tap-mysql#sync-mode,
tap-mysql
supports the properties
option, so you'll want to add it to capabilities
in meltano.yml
and try again.harsha_aleti
09/28/2020, 3:18 PM$ meltano --log-level=debug elt tap-mysql target-postgres
douwe_maan
09/28/2020, 3:21 PMtap-mysql
expects a replication-method
metadata key with value INCREMENTAL
, LOG_BASED
or FULL_TABLE
for each stream in the catalog, as well as `replication-id`: https://github.com/singer-io/tap-mysql#replication-methods-and-state-file
You can set these using the metadata
key in meltano.yml
: https://meltano.com/docs/plugins.html#metadata-extradouwe_maan
09/28/2020, 3:22 PM*
again if the answer is the same for each stream.harsha_aleti
09/28/2020, 3:55 PMdouwe_maan
09/28/2020, 4:57 PMmeltano elt ... --dump=catalog
so that we can see if every stream actually has a replication-method
set?douwe_maan
09/28/2020, 4:57 PMsome_table
should match the stream ID 😉douwe_maan
09/28/2020, 4:58 PMmars_db-covid_us_data
in your casedouwe_maan
09/28/2020, 4:58 PM'*'
instead to match all streamsharsha_aleti
09/28/2020, 5:00 PMdouwe_maan
09/28/2020, 5:00 PMmetadata:
'*':
replication-method: FULL_TABLE
harsha_aleti
09/28/2020, 5:03 PM$ meltano elt tap-mysql target-postgres --dump=catalog
Could not dump catalog: Applying catalog rules failed: catalog file is missing.douwe_maan
09/28/2020, 5:05 PMharsha_aleti
09/28/2020, 5:05 PMdouwe_maan
09/28/2020, 5:06 PM