josh_lloyd
07/27/2023, 10:30 PMCannot start plugin tap-mysql--workflows: [Errno 2] No such file or directory: '/opt/dagster/app/.meltano/run/tap-mysql--workflows/tap.properties.json'
josh_lloyd
07/27/2023, 10:37 PMmeltano.yml
config is as follows:
- name: tap-mysql--bilbo
namespace: tap_mysql
pip_url: git+<https://github.com/Widen/pipelinewise-tap-mysql.git>
executable: tap-mysql
capabilities:
- state
- catalog
- discover
settings:
- name: host
- name: port
- name: user
- name: password
- name: export_batch_rows
- name: session_sqls
config:
export_batch_rows: 500000
session_sqls:
- SET @@session.max_execution_time=0
- SET @@session.net_read_timeout=3600
- SET @@session.net_write_timeout=3600
- SET @@session.wait_timeout=28800
- SET @@session.innodb_lock_wait_timeout=3600
metadata:
'*':
replication-method: FULL_TABLE
- name: tap-mysql--workflows
inherit_from: tap-mysql--bilbo
josh_lloyd
07/27/2023, 10:43 PMvisch
07/28/2023, 12:48 PMpymssql
and tell everyone to use pyodbc
now there's a bunch of small bugs in pymssql that haven't been addressed like https://github.com/pymssql/pymssql/issues/695
To your point!
Yes running multiple instances of the same tap can cause issues due to the properties file being located at the same place (they edit and delete the same file). I think a good fix for this would be a uuid
similar to the config
files in Meltano.
The fix I go with is just run the jobs in seperate containers, or if you really need to run them at the same place use a different venv (inherit from)visch
07/28/2023, 12:50 PMjosh_lloyd
08/04/2023, 7:31 PMvisch
08/04/2023, 7:32 PM