chore(deps): update dependency clickhouse-connect to v1.1.0#775
Open
renovate[bot] wants to merge 1 commit into
Open
chore(deps): update dependency clickhouse-connect to v1.1.0#775renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
==1.0.1→==1.1.0Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
ClickHouse/clickhouse-connect (clickhouse-connect)
v1.1.0Compare Source
Compatibility
aiohttp>=3.9.0. This is required to support TLS SNI override viaserver_host_name, because aiohttp added the per-requestserver_hostnameoption in 3.9.alembicextra now requiresalembic>=1.16(previously>=1.9) so the documentedIF EXISTS/IF NOT EXISTSAlembic operation kwargs are available.Bug Fixes
op.add_column(..., clickhouse_settings={...})now works through the public Alembic operations API, and renderedAddColumnOpmigrations preserve extra ClickHouse kwargs.CREATE TABLE/ADD COLUMNno longer emit rejectedCOMMENT ON COLUMNstatements; table comments are now emitted in generated DDL, reflected for no-op autogenerate, and changed or dropped withALTER TABLE ... MODIFY COMMENT.server_host_namenow also overrides the TLS SNI / certificate hostname, matching the sync client. Previously the async path only applied it to the HTTPHostheader, so connecting to host A while presenting SNI B (the 0.xpool_mgr=urllib3.PoolManager(server_hostname=...)pattern, useful for ClickHouse Cloud VPC endpoints reached via external DNS) was not expressible against the new aiohttp-based client. Both_raw_requestandping()now passssl=self._ssl_context, server_hostname=self.server_host_nameper request when an SSL context is in use. Closes #752.retriesbudget on connection-error retries in_raw_requestinstead of only retrying once. Previously both the sync and async clients gated network-error retries onattempts == 1, so two consecutiveaiohttp.ServerDisconnectedErrors (orConnectionResetErrors on the sync path) surfaced asOperationalErroreven whenquery_retrieswould have allowed another attempt. Read paths now drainquery_retries; insert/command paths still get one retry (retries=0callers). Syncraw_queryandraw_stream(the foundation forquery_arrow/query_arrow_stream) now also passquery_retriesso they match their async counterparts. Adds a0.1 * attemptsbackoff between connection-error retries to match the 429/503/504 branch. Closes #754.quote_identifiernow re-escapes inputs that start and end with`or"but contain unescaped inner occurrences of the same quote character, instead of passing them through unchanged. Validly pre-quoted identifiers like backslash or doubled-quote escaping still pass through untouched. Closes #737.SETTINGSclauses. Previously settings likeMergeTree(settings={"storage_policy": "hot_cold"})orop.add_column(..., clickhouse_settings={"mutations_sync": "2"})emitted unquoted SQL (storage_policy = hot_cold), which ClickHouse rejected. Numeric and boolean settings are unchanged.settingson reflection.build_engine()previously hardcodedengine.settings = {}even when the reflected DDL contained aSETTINGSclause, so callers readingengine.settingsafter reflection saw an empty dict.settingsis now populated from the parsed engine kwargs, decoding ClickHouse string-literal escapes (\\,\',\n, etc.) and preserving float-valued settings as floats — round-trip parity with the construction path.Inspectorerror messages fromget_table_metadata()now report the resolved database name i.e. fromcurrentDatabase()whenschemawas not provided instead of literalNone.Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.