Closed pnadolny13 closed 1 year ago
I see these arguments in the sqlalchemy docs but they could be new in >2.0.
I can confirm that these should pass in SQLAlchemy 1.4 since the tests passed there: https://github.com/meltano/sdk/actions/runs/5789625613/job/15691059238#step:7:118
- Should we pin the SDK version and let dependabot update it periodically?
I think so, at least to the minor version: singer-sdk = "~=0.30.0"
TypeError: Invalid argument(s) 'json_serializer','json_deserializer' sent to create_engine(), using configuration SnowflakeDialect/QueuePool/Engine
Is there more context on this error? Like filename and line.
@edgarrmondragon I updated the description to include the full stack trace.
Thanks @pnadolny13! Ok, so I found the underlying issue and logged it in the SF driver repo: https://github.com/snowflakedb/snowflake-sqlalchemy/issues/433.
I think we can fix this in 3 steps in the coming days:
singer-sdk = "~=0.30.0"
and publish a release to PyPIcreate_engine
so it doesn't use those parameters, and also publish a release to PyPI.snowflake-sqlalchemy
and remove the custom create_engine
implementation.
I'm getting the following error with the tap pinned to version
v0.0.22
. It looks like the SDK dependency is unconstrained and https://github.com/meltano/sdk/pull/1898 made a change that might only work for SQLAlchemy 2.0? I'm not totally sure though. I see these arguments in the sqlalchemy docs but they could be new in >2.0.This is especially concerning because I pinned my package version but this still got through.
cc @edgarrmondragon