clickhouse-connect v1.7.1
This is a patch release with two SQLAlchemy compatibility fixes.
What's Changed
Bug Fixes
- SQLAlchemy 2.1 compatibility: Identifier quoting forwarded the deprecated
forceargument toIdentifierPreparer.quote, which SQLAlchemy 2.1 removed, causing any dialect use to raiseTypeErroron 2.1.0b3. The parent call now passes only the identifier. The optionalforceparameter remains available on the ClickHouse preparer for direct callers. Closes #954. - SQLAlchemy 1.4 compatibility: Column DDL using the
clickhouse_materialized,clickhouse_alias, orclickhouse_ttloptions raisedAttributeErroron SQLAlchemy 1.4 because it called a rendering helper that only exists in 2.0. The helper is now implemented locally. This appears to have been broken since 1.1.0.
Full Changelog: v1.7.0...v1.7.1
Installation
pip install clickhouse-connect