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
31 changes: 31 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,37 @@ under [`pyo3/CHANGELOG.md`](pyo3/CHANGELOG.md) and
[`napi/CHANGELOG.md`](napi/CHANGELOG.md); they ship on independent
cadences and may not move in lockstep with the crate.

## [v0.2.0] - 2026-06-08

**Beta release of the Databricks SQL Kernel.** Bumps the crate out
of its initial-public-release line into a beta-quality cut intended
for downstream-driver adoption (Reyden bring-up in
`databricks-sql-connector` and `@databricks/sql`). Public API
surface is stable; behaviour changes captured below.

### Added
- `Statement::execute_direct()` — directResults execution (the
Thrift/JDBC model): one `ExecuteStatement` POST with the server
inline wait, returning `DirectStatement::Completed` (terminal,
result materialised inline) or `DirectStatement::Running` (a
poll/cancel handle) **without** an internal poll loop. Added
**alongside** an unchanged blocking `execute()`.

### Updated
- Removed `StatementSpec::query_timeout_secs` and the
`resolve_wait_timeout` `CANCEL` branch: it mapped a per-statement
timeout onto the SEA `wait_timeout` field, which is the server's
inline-hold window (capped 5–50s), not a statement-execution
timeout (use the `STATEMENT_TIMEOUT` SQL conf for that). The sync
path now always omits `wait_timeout`.

### Fixed
- `terminal_outcome`: `CLOSED` is now an unconditional terminal
**success** (parity with JDBC's `DatabricksSdkClient`); an empty
`CLOSED` materialises an empty result set instead of erroring
with `invalid_state("Statement was closed")`. Reaches all callers
(`execute()`, `fetch_completed_result`, `execute_direct`).

## [v0.1.2] - 2026-06-06

Initial public release of the Rust kernel core.
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

[package]
name = "databricks-sql-kernel"
version = "0.1.2"
version = "0.2.0"
edition = "2021"
authors = ["Databricks"]
license = "Apache-2.0"
Expand Down
15 changes: 0 additions & 15 deletions NEXT_CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,25 +10,10 @@ changes go in their respective binding's NEXT_CHANGELOG.
## [Unreleased]

### Added
- `Statement::execute_direct()` — directResults execution (the Thrift/JDBC model):
one `ExecuteStatement` POST with the server inline wait, returning
`DirectStatement::Completed` (terminal, result materialised inline) or
`DirectStatement::Running` (a poll/cancel handle) **without** an internal poll
loop. Added **alongside** an unchanged blocking `execute()`.

### Updated
- Removed `StatementSpec::query_timeout_secs` and the `resolve_wait_timeout`
`CANCEL` branch: it mapped a per-statement timeout onto the SEA `wait_timeout`
field, which is the server's inline-hold window (capped 5–50s), not a
statement-execution timeout (use the `STATEMENT_TIMEOUT` SQL conf for that).
The sync path now always omits `wait_timeout`.

### Fixed
- `terminal_outcome`: `CLOSED` is now an unconditional terminal **success**
(parity with JDBC's `DatabricksSdkClient`); an empty `CLOSED` materialises an
empty result set instead of erroring with `invalid_state("Statement was
closed")`. Reaches all callers (`execute()`, `fetch_completed_result`,
`execute_direct`).

---
*Note: When making changes, please add your change under the appropriate
Expand Down
20 changes: 20 additions & 0 deletions napi/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,26 @@ The Rust crate and Python binding have their own changelogs under
[`../CHANGELOG.md`](../CHANGELOG.md) and [`../pyo3/CHANGELOG.md`](../pyo3/CHANGELOG.md);
they ship on independent cadences.

## [v0.2.0] - 2026-06-08

**Beta release of the Databricks SQL Kernel (Node.js binding).**
Ships on npm as `@databricks/databricks-sql-kernel@0.2.0` (umbrella
+ 8 platform packages). Intended for downstream-driver adoption in
`@databricks/sql`'s kernel-backed path.

### Added
- `Connection.executeStatementDirect(sql, options?)` — exposes the
kernel's directResults `execute_direct`, returning
`Either<Statement, AsyncStatement>` (terminal `Statement` for a
fast query, or an `AsyncStatement` poll/cancel handle for a slow
one). Consumed by the Node.js driver's default sync path.

### Updated
- Removed `ExecuteOptions.queryTimeoutSecs`: it threaded onto the
now-removed kernel `query_timeout_secs`, which abused the SEA
`wait_timeout` inline-hold window rather than being a real
statement timeout.

## [v0.1.2] - 2026-06-06

Initial public release of the Node.js binding.
Expand Down
4 changes: 2 additions & 2 deletions napi/Cargo.lock

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

2 changes: 1 addition & 1 deletion napi/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ members = ["."]

[package]
name = "databricks-sql-kernel-napi"
version = "0.1.2"
version = "0.2.0"
edition = "2021"
authors = ["Databricks"]
license = "Apache-2.0"
Expand Down
7 changes: 0 additions & 7 deletions napi/NEXT_CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,8 @@ layout, or npm publishing. Pure-kernel changes go in the root
## [Unreleased]

### Added
- `Connection.executeStatementDirect(sql, options?)` — exposes the kernel's
directResults `execute_direct`, returning `Either<Statement, AsyncStatement>`
(terminal `Statement` for a fast query, or an `AsyncStatement` poll/cancel
handle for a slow one). Consumed by the Node.js driver's default sync path.

### Updated
- Removed `ExecuteOptions.queryTimeoutSecs`: it threaded onto the now-removed
kernel `query_timeout_secs`, which abused the SEA `wait_timeout` inline-hold
window rather than being a real statement timeout.

### Fixed

Expand Down
2 changes: 1 addition & 1 deletion napi/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@databricks/databricks-sql-kernel",
"version": "0.1.4",
"version": "0.2.0",
"description": "Databricks SQL Kernel — Node.js native binding.",
"main": "index.js",
"types": "index.d.ts",
Expand Down
10 changes: 10 additions & 0 deletions pyo3/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,16 @@ crate and Node.js binding have their own changelogs under
[`../CHANGELOG.md`](../CHANGELOG.md) and [`../napi/CHANGELOG.md`](../napi/CHANGELOG.md);
they ship on independent cadences.

## [v0.2.0] - 2026-06-08

**Beta release of the Databricks SQL Kernel (Python binding).**
Ships on PyPI as `databricks-sql-kernel==0.2.0`. The pyo3 surface
is unchanged from v0.1.2; this release picks up the
kernel-side v0.2.0 behaviour changes (see the root
[`../CHANGELOG.md`](../CHANGELOG.md) — `execute_direct`,
`wait_timeout` removal, `CLOSED`-as-success fix). Intended for
downstream-driver adoption in `databricks-sql-connector[kernel]`.

## [v0.1.2] - 2026-06-06

Initial public release of the Python binding.
Expand Down
2 changes: 1 addition & 1 deletion pyo3/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ members = ["."]

[package]
name = "databricks-sql-kernel-pyo3"
version = "0.1.2"
version = "0.2.0"
edition = "2021"
authors = ["Databricks"]
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion pyo3/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "maturin"

[project]
name = "databricks-sql-kernel"
version = "0.1.2"
version = "0.2.0"
description = "Python bindings for the Databricks SQL Kernel (PyO3)"
# Floor matches the tested CI matrix in
# .github/workflows/pyo3-checks.yml (3.10 .. 3.14). 3.9 is no longer
Expand Down
Loading