Skip to content

Commit ed9f48e

Browse files
authored
chore: upgrade SQL kernel to 1.5.0 (#1077)
* chore: upgrade SQL kernel to 1.5.0 Signed-off-by: Vu Anh Phung <vu.phung@databricks.com> * docs: match kernel upgrade changelog spacing Signed-off-by: Vu Anh Phung <vu.phung@databricks.com> * docs: describe kernel 1.5.0 changes for Python users Signed-off-by: Vu Anh Phung <vu.phung@databricks.com> --------- Signed-off-by: Vu Anh Phung <vu.phung@databricks.com>
1 parent 087b2bf commit ed9f48e

4 files changed

Lines changed: 17 additions & 11 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
# Release History
22

33
# Unreleased
4+
- Upgrade Databricks SQL Kernel to 1.5.0, avoiding redundant status requests when asynchronous kernel statements complete.
5+
- Reduce overhead when fetching buffered kernel results, checking for end of results, and closing drained cursors.
6+
- Fix file-descriptor leaks when closing kernel connections, including OAuth connections.
7+
- Keep kernel CloudFetch downloads progressing across result pages and respond to cancellation during prefetch.
8+
- Omit presigned CloudFetch URL query strings, including signatures, from kernel request errors and debug logs.
9+
- Preserve affected-row counts from immediately completed kernel statements without consuming result rows.
410
- 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`.
511
- Fix the kernel backend ignoring `use_cloud_fetch=False`, so complete results can be fetched without cloud-storage downloads.
612
- 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))

‎KERNEL_REV‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0b5d0edfed32c0745d5abc2468fc3070e2eb2a17
1+
5c3a909771f749174567af074bfe18c24a335f5c

‎poetry.lock‎

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

‎pyproject.toml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,10 @@ requests-kerberos = {version = "^0.15.0", optional = true}
6767
# is ``abi3`` with ``Requires-Python: >=3.9`` (built ``abi3-py39``); the
6868
# dependency remains gated to the connector's Python >= 3.10 support floor.
6969
#
70-
# Floor is 1.4.0 (``^1.4.0`` == ``>=1.4.0,<2.0.0``), allowing compatible
70+
# Floor is 1.5.0 (``^1.5.0`` == ``>=1.5.0,<2.0.0``), allowing compatible
7171
# 1.x releases while keeping the next major upgrade deliberate. The kernel's
7272
# pyarrow constraint remains >=23.0.1,<24.
73-
databricks-sql-kernel = {version = "^1.4.0", optional = true, python = ">=3.10"}
73+
databricks-sql-kernel = {version = "^1.5.0", optional = true, python = ">=3.10"}
7474

7575

7676
[tool.poetry.extras]

0 commit comments

Comments
 (0)