Kenny Ning
03/15/2024, 8:07 PMtap-clickhouse
to work? i feel like i set up the meltano.yml
config correctly with username and password, but still getting this error about a missing port (port should have a default set, and even if i set it explicitly in the yml i still get this error)
File "/meltano_project/.meltano/extractors/tap-clickhouse/venv/lib/python3.11/site-packages/sqlalchemy/engine/url.py", line 221, in _assert_port
return int(port)
^^^^^^^^^
ValueError: invalid literal for int() with base 10: ''
Kenny Ning
03/15/2024, 8:27 PMKenny Ning
03/15/2024, 8:58 PMEdgar RamÃrez (Arch.dev)
03/15/2024, 9:47 PMmeltano.yml
? At least the specific section for tap-clickhouse
.Kenny Ning
03/15/2024, 9:47 PM- name: tap-clickhouse
variant: akurdyukov
pip_url: git+<https://github.com/akurdyukov/tap-clickhouse.git>
config:
host: $CLICKHOUSE_URL
port: 8443
password: $CLICKHOUSE_PASSWORD
Kenny Ning
03/15/2024, 9:48 PMKenny Ning
03/15/2024, 9:50 PMEdgar RamÃrez (Arch.dev)
03/15/2024, 9:50 PMKenny Ning
03/15/2024, 9:57 PMOSError: Could not find a suitable TLS CA certificate bundle, invalid path: 0
Kenny Ning
03/15/2024, 9:57 PMsecure: 1
and verify: 0
Edgar RamÃrez (Arch.dev)
03/15/2024, 10:24 PMsecure: true
and verify: false
?Kenny Ning
03/18/2024, 2:45 PMPlugin configuration is invalid
ValueError: unconverted data remains: 080
Edgar RamÃrez (Arch.dev)
03/19/2024, 3:19 PMKenny Ning
03/19/2024, 7:54 PM2024-03-19T19:53:47.851282Z [info ] The default environment 'dev' will be ignored for `meltano config`. To configure a specific environment, please use the option `--environment=<environment name>`.
2024-03-19T19:53:47.937064Z [warning ] `kind: password` is deprecated for setting definitions in favour of `sensitive: true`, and is currently in use by the following settings of extractor 'tap-clickhouse': 'password'. Please open an issue or pull request to update the plugin definition on Meltano Hub at <https://github.com/meltano/hub/blob/main/_data/meltano/extractors/tap-clickhouse/akurdyukov.yml>.
Need help fixing this problem? Visit <http://melta.no/> for troubleshooting steps, or to
join our friendly Slack community.
Plugin configuration is invalid
ValueError: unconverted data remains: 112
Edgar RamÃrez (Arch.dev)
03/19/2024, 8:00 PMdatetime.datetime.strptime
in Python's stdlib:
>>> import datetime
>>> datetime.datetime.strptime('2024-01', '%Y')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/python3.11/_strptime.py", line 568, in _strptime_datetime
tt, fraction, gmtoff_fraction = _strptime(data_string, format)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/python3.11/_strptime.py", line 352, in _strptime
raise ValueError("unconverted data remains: %s" %
ValueError: unconverted data remains: -01
Kenny Ning
03/19/2024, 8:05 PMEdgar RamÃrez (Arch.dev)
03/19/2024, 8:06 PMKenny Ning
03/19/2024, 8:07 PMmeltano config tap-clickhouse test
Edgar RamÃrez (Arch.dev)
03/19/2024, 8:08 PMmeltano --log-level=debug config tap-clickhouse test
Kenny Ning
03/19/2024, 8:10 PMKenny Ning
03/19/2024, 8:13 PM- name: tap-clickhouse
variant: akurdyukov
pip_url: git+<https://github.com/akurdyukov/tap-clickhouse.git>
config:
host: xyz-123.us-east-1.aws.clickhouse.cloud
secure: true
verify: false
port: 8443
password: $CLICKHOUSE_PASSWORD
Edgar RamÃrez (Arch.dev)
03/19/2024, 8:29 PMKenny Ning
03/19/2024, 8:30 PMEdgar RamÃrez (Arch.dev)
03/19/2024, 11:03 PM