Skip to content

test: record APC SEA live validation - #1844

Draft
jay-xiao446 wants to merge 5 commits into
jay-xiao_data/jay-xiao/factory/apc-sea-v2/apc-release-validationfrom
jay-xiao_data/jay-xiao446/apc-live-validation-2026-11-23
Draft

jay-xiao446 wants to merge 5 commits into
jay-xiao_data/jay-xiao/factory/apc-sea-v2/apc-release-validationfrom
jay-xiao_data/jay-xiao446/apc-live-validation-2026-11-23

Conversation

@jay-xiao446

@jay-xiao446 jay-xiao446 commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Description

Why: Record sanitized live evidence for the cumulative APC SEA JDBC stack through PR #1835 without modifying the existing validation PR.

Change: Add the 2026-11-23 AC1–AC29 live matrix, machine-readable results, and reusable sanitized probes. The current matrix records 21 PASS, 1 PARTIAL, 4 FAIL, and 3 BLOCKED outcomes.

Testing

  • Ran SEA and Thrift controls against the existing staging APC cluster, including scalar parameters, 100,000 ordered rows, direct-results on/off, timeout, SET, native and statement batches, heartbeat suppression, and bounded polling.
  • Verified an ordinary non-metadata SELECT 1 sends and receives ARROW_BATCH; 19 focused wire-model and result-factory format cases passed. JDBC metadata operations intentionally remain ARROW_STREAM.
  • Split metadata validation by operation: SEA and Thrift returned matching catalogs/schemas/tables/columns counts (51/1/1/8). DBR 19 returned native Arrow attachments; DBR 18 returned COLUMN_BASED_SET with columnar_data. SEA used operation-specific headers, correct sync-header toggling, and explicit require-native. Together with the deterministic same-connection decoder-switch test, AC5 and AC16 pass.
  • Ran all four flag-ON routing modes on dogfood; each selected the expected protocol and passed SELECT 1.
  • Created dedicated standard and Real-Time SQL warehouses. Both passed session-mode detection, execute/poll/fetch of 100,000 ordered rows, cancellation, session reuse, and close; both temporary warehouses were deleted.
  • AC20 passed with independent live flag combinations: staging APC=false/warehouse=true selected SEA_WAREHOUSE, while dogfood APC=true/warehouse=false selected Thrift. Both passed SELECT 1, proving the APC flag does not alter warehouse routing. The dogfood warehouse was retained by request.
  • Ran all six standard/Real-Time bounded/unbounded lifecycle wire-fixture cases; exact methods, URLs, bodies, and headers matched with zero failures.
  • Scratch schema cleanup passed; Spotless formatting, report/probe lint diagnostics, and git diff --check passed. The temporary DBR 18 cluster was terminated and confirmed inactive.
  • Every added Java probe compiled with javac --release 11 against the packaged uber jar.

Telemetry Errors

  • Not applicable — this PR does not add or change a telemetry-visible error.
  • Applicable — the error uses DatabricksDriverErrorCode where appropriate, and any new code is uniquely numbered and tested.
  • Applicable — its driver/server/user classification is linked, or maintainer help is requested because the author cannot access the classification.

Additional Notes to the Reviewer

This evidence PR is stacked on #1823. It records observed failures without changing driver behavior, including APC connection-ID construction, session-string workspace-ID exposure, compound-ID close targeting, and the complex-parameter error contract.

NO_CHANGELOG=true

Signed-off-by: Jay Xiao <jay.xiao@databricks.com>
Signed-off-by: Jay Xiao <jay.xiao@databricks.com>
Signed-off-by: Jay Xiao <jay.xiao@databricks.com>
@jay-xiao446
jay-xiao446 force-pushed the jay-xiao_data/jay-xiao446/apc-live-validation-2026-11-23 branch from 7dd803e to f1f2332 Compare November 24, 2026 00:55
Signed-off-by: Jay Xiao <jay.xiao@databricks.com>
Signed-off-by: Jay Xiao <jay.xiao@databricks.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant