From 8497c6ebdb7ae451669ed92707bd4acb0540e227 Mon Sep 17 00:00:00 2001 From: "cathleen.yan" <58714163+cathleeny@users.noreply.github.com> Date: Mon, 23 Nov 2026 23:18:47 +0000 Subject: [PATCH 1/2] Bump to version 4.10.0 Co-authored-by: Isaac Signed-off-by: cathleen.yan <58714163+cathleeny@users.noreply.github.com> --- pyproject.toml | 2 +- src/databricks/sql/__init__.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 26a91416f..435dc74d1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "databricks-sql-connector" -version = "4.9.0" +version = "4.10.0" description = "Databricks SQL Connector for Python" authors = ["Databricks "] license = "Apache-2.0" diff --git a/src/databricks/sql/__init__.py b/src/databricks/sql/__init__.py index c3ee06cce..39c20d506 100644 --- a/src/databricks/sql/__init__.py +++ b/src/databricks/sql/__init__.py @@ -71,7 +71,7 @@ def __repr__(self): DATE = DBAPITypeObject("date") ROWID = DBAPITypeObject() -__version__ = "4.9.0" +__version__ = "4.10.0" USER_AGENT_NAME = "PyDatabricksSqlConnector" # These two functions are pyhive legacy From 8ae9259b0bea085ca3c0ef9fd78ed7631778f6a6 Mon Sep 17 00:00:00 2001 From: "cathleen.yan" <58714163+cathleeny@users.noreply.github.com> Date: Tue, 24 Nov 2026 01:38:48 +0000 Subject: [PATCH 2/2] Add 4.10.0 changelog Co-authored-by: Isaac Signed-off-by: cathleen.yan <58714163+cathleeny@users.noreply.github.com> --- CHANGELOG.md | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 21c81f39b..62cd94fe6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,17 +1,20 @@ # Release History -# Unreleased -- Upgrade Databricks SQL Kernel to 1.5.0, avoiding redundant status requests when asynchronous kernel statements complete. -- Reduce overhead when fetching buffered kernel results, checking for end of results, and closing drained cursors. +# 4.10.0 (2026-11-24) +- Upgrade Databricks SQL Kernel to 1.5.0, with lower overhead for buffered fetches and closing drained cursors, and Arrow and Quinn security updates. +- Kernel TLS certificate errors fail after one attempt and report the underlying cause, including for CloudFetch. +- A failed OAuth token request fails kernel connections immediately instead of authenticating again. - Fix file-descriptor leaks when closing kernel connections, including OAuth connections. -- Keep kernel CloudFetch downloads progressing across result pages and respond to cancellation during prefetch. -- Omit presigned CloudFetch URL query strings, including signatures, from kernel request errors and debug logs. -- Preserve affected-row counts from immediately completed kernel statements without consuming result rows. -- Honor `max_download_threads` on kernel connections, with a default download window of 16 and explicit chunk-setting overrides. Invalid values raise `ValueError` when connecting with `use_kernel=True`. -- Fix the kernel backend ignoring `use_cloud_fetch=False`, so complete results can be fetched without cloud-storage downloads. -- Fix inline parameters (`use_inline_params=True`) so a sequence directly after `IN` renders as a list again: `x IN %(ids)s` renders as `x IN (1,2,3)` instead of `x IN ARRAY(1,2,3)`, which Spark rejects. Inside the list, tuples render as rows for a multi-column `IN`, and a `set` or `frozenset` is accepted again. Sequences anywhere else still render as `ARRAY(...)` ([#629](https://github.com/databricks/databricks-sql-python/issues/629)) -- Speed up Thrift response handling: read replies in 1 MiB chunks and decode them with Thrift's C-accelerated protocol, and stop stringifying every request/response for the default no-op debug logger. Wide result schemas, metadata calls with many rows, and inline Arrow results benefit most. -- Report `cursor.rowcount` after asynchronous DML completes on both the Thrift and kernel backends, preserving zero counts and fetched result rows. +- Kernel CloudFetch downloads keep progressing across result pages and respond to cancellation. +- Fix the kernel backend ignoring `use_cloud_fetch=False`. +- Omit presigned CloudFetch URL query strings from kernel errors and debug logs. +- Preserve affected-row counts from immediately completed kernel statements. +- Honor `max_download_threads` on kernel connections; invalid values raise `ValueError` with `use_kernel=True`. +- Forward `telemetry_flush_interval_ms` to the kernel, which previously ignored it. +- Report `cursor.rowcount` after asynchronous DML completes on the Thrift and kernel backends. +- Fix `use_inline_params=True` rendering a sequence after `IN` as `ARRAY(...)`, which Spark rejects ([#629](https://github.com/databricks/databricks-sql-python/issues/629)). +- Speed up Thrift response handling for wide results and metadata calls. +- Update oauthlib to 4.0.1 to address security findings. # 4.9.0 (2026-11-04) - Upgrade Databricks SQL Kernel to 1.4.0, which keeps Lakehouse Real-Time session affinity and flushes shared telemetry only after the final session closes.