Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
# 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.
- 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))
Expand Down
2 changes: 1 addition & 1 deletion KERNEL_REV
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0b5d0edfed32c0745d5abc2468fc3070e2eb2a17
5c3a909771f749174567af074bfe18c24a335f5c
16 changes: 8 additions & 8 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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


[tool.poetry.extras]
Expand Down
Loading