You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Surfaced by the multi-language coverage fan-out while conformance-testing these SPEC-IDs against databricks/databricks-sql-nodejs. Each finding is committed as an expected-failure (xfail) test in the coverage PR — the test asserts the CORRECT (post-fix) behavior and stays red until THIS driver (databricks/databricks-sql-nodejs) is fixed, then flips green as a tripwire.
Findings
SESSION-018 [sea]: SEA CreateSession body omits execution_mode, so the session is not created in FAST mode; the driver sends only {warehouse_id} on POST /api/2.0/sql/sessions and therefore never receives server-issued session versions
failing test: sea session created in FAST execution mode — execution_mode=FAST on the standard /api/2.0/sql/sessions path [sea] (see the coverage PR diff under tests/)
Reproduce & Expected
SESSION-018 — Validates that a driver creating a SEA (Statement Execution API) session requests FAST execution mode BY DEFAULT and that the session it gets back opens, executes a query and closes normally.
The behavior was first fixed in a DIFFERENT driver — reference PR: feat(session): add session version exchange databricks-sql-kernel#331 — which seeded the shared language-neutral spec. This issue tracks the same conformance gap in databricks/databricks-sql-nodejs; the reference PR is for cross-referencing the intended behavior, NOT a change to this repo.
I retested this on the latest release (@databricks/sql@2.4.0, kernel binary 1.3.0) against a current SQL warehouse, recording the kernel's HTTP requests through a local proxy. With useKernel: true, the POST /api/2.0/sql/sessions body is now {"warehouse_id":"…","execution_mode":"FAST"}. The session opens, runs SELECT 1 AS test_value and closes normally.
Closing as fixed. The SESSION-018 xfail test in the coverage PR linked above should now pass.
Activity
vuanhphung commentedon Oct 30, 2026
I retested this on the latest release (
@databricks/sql@2.4.0, kernel binary 1.3.0) against a current SQL warehouse, recording the kernel's HTTP requests through a local proxy. WithuseKernel: true, thePOST /api/2.0/sql/sessionsbody is now{"warehouse_id":"…","execution_mode":"FAST"}. The session opens, runsSELECT 1 AS test_valueand closes normally.Closing as fixed. The SESSION-018 xfail test in the coverage PR linked above should now pass.