clickhouse-connect v1.1.1
This patch release fixes a handful of async-client connectivity bugs and a SHOW ROW POLICIES query routing issue. Recommended for all users on 1.1.0, especially those running the async client behind a proxy or against keep-alive-prone pools.
What's Changed
Bug Fixes
- Async client:
ping()now routes through the configured proxy, matching_raw_request. Previously the proxy was omitted, soping()falsely returnedFalseon networks where the server was only reachable via the proxy. Closes #757. - Fix
query("SHOW ROW POLICIES")/query("SHOW POLICIES")by routing these non-tabular statements without appendingFORMAT Native. Empty row-policySHOWresults now return""instead ofQuerySummary. Closes #761. - Async client: retry stale keep-alive resets surfaced by aiohttp as
ClientOSErrororClientConnectionResetError, fixing large async inserts on killed pooled connections. Closes #763. - Async client: do not retry aiohttp timeout, connector, or fingerprint errors — these can indicate the request was already delivered or a config issue, not a stale connection.
- Sync client: also retry stale keep-alive
BrokenPipeError(in addition toConnectionResetError), matching the async behavior.
Installation
pip install clickhouse-connect