Skip to content

Commit 482c5f8

Browse files
tejassp-dbsd-db
andauthored
feat(PECOBLR-2328): bump databricks-sql-connector upper bound to <4.1.6 (#1363)
## Summary - Bumps `databricks-sql-connector` upper bound from `<4.1.4` to `<4.1.6`, allowing users to install connector `4.1.5` - Connector `4.1.5` introduced [`_respect_server_retry_after_header`](databricks/databricks-sql-python#756), which users can now opt into via `connection_parameters` in `profiles.yml` ## Context Customers using `use_materialization_v2: true` experience duplicate rows when the server returns HTTP 503 after already committing an INSERT. The connector blindly retries, causing data to be written twice. With `_respect_server_retry_after_header: true`, retries only occur when the server explicitly sends a `Retry-After` header, preventing duplicate writes from infrastructure-level 503s. ## Test plan - [x] All 744 unit tests pass (`hatch run unit`) - [x] E2E verification with a dummy dbt project against UC SQL endpoint: - `dbt debug` + `dbt run` succeed with default profile (connector default `False` applied) - `dbt debug` + `dbt run` succeed with `_respect_server_retry_after_header: true` explicitly set --------- Co-authored-by: Shubham Dhal <shubham.dhal@databricks.com>
1 parent b46d987 commit 482c5f8

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
### Under the Hood
1515

16+
- Bump `databricks-sql-connector` upper bound to `<4.1.6`, enabling users to opt into `_respect_server_retry_after_header` (available in connector 4.1.5) for server-directed retry behavior via `connection_parameters` ([#1363](https://github.com/databricks/dbt-databricks/pull/1363))
1617
- Bump upper bound of dbt-core to `<1.11.9` to include dbt-core 1.11.8
1718

1819
## dbt-databricks 1.11.6 (Mar 10, 2026)

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ classifiers = [
2424
dependencies = [
2525
"click>=8.2.0, <9.0.0",
2626
"databricks-sdk>=0.68.0, <0.78.0",
27-
"databricks-sql-connector[pyarrow]>=4.1.1, <4.1.4",
27+
"databricks-sql-connector[pyarrow]>=4.1.1, <4.1.6",
2828
"dbt-adapters>=1.22.0, <1.23.0",
2929
"dbt-common>=1.37.0, <1.38.0",
3030
"dbt-core>=1.11.2, <1.11.9",

uv.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)