| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Re-applied on top of main (which now includes #416's consolidated kernel backend: connection/statement options, TLS & configurable sync/async). The original rename branch was based on the older sea-kernel-rev-pin stack; a literal rebase would have hit modify/delete conflicts on every backend file, so the rename was re-derived against current main. Scope: - Directories: lib/sea→lib/kernel, native/sea→native/kernel, tests/unit/sea→tests/unit/kernel, tests/e2e/sea→tests/e2e/kernel. - Files/classes: Sea*→Kernel* (SeaBackend→KernelBackend, SeaSessionBackend, SeaOperationBackend, SeaNativeLoader, SeaAuth, …). - Public option: useSEA→useKernel (hard rename; no back-compat alias). - COMPLETE this time: the internal helpers the prior pass left sea-named are renamed too — getSeaNative→getKernelNative, buildSea*→buildKernel*, seaCancel/Close/Finished→kernel*, seaServerInfoValue→kernelServerInfoValue, SEA_DBMS_*/SEA_NATIVE_EXPECTED→KERNEL_*. Intentionally preserved: 'SEA' where it denotes the Statement Execution API wire protocol (comments/JSDoc), Python's use_sea reference, and the telemetry backend union member 'sea' (dashboard back-compat). Verified: tsc clean, lint clean, full unit suite 1166 passing, live end-to-end (2 executions via useKernel) green. Co-authored-by: Isaac Signed-off-by: Madhavendra Rathore <madhavendra.rathore@databricks.com>
|
Superseded by the rebased rename on current main (includes directResults #426). #415 was stacked on the old SEA stack (#414 closed); the new PR is a clean rename off main with the same scope + preserve-list, re-verified (tsc/lint/prettier clean, kernel suite 261, useKernel e2e live). |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Stacked on #414 (the KERNEL_REV pin). Top of the SEA stack: #412 (merged) → #413 → #414 → this.
Why
The kernel backend can sit on top of any wire protocol (today SEA / Statement Execution API, later others), so the driver shouldn't brand its path "SEA". This renames the driver-layer surface to kernel, matching the python connector's use_kernel=True (databricks-sql-python #787), while preserving genuine references to the SEA wire protocol the kernel speaks.
What changed (mechanical, no behavior change)
Deliberately preserved
The ~8 genuine protocol references — "the SEA REST protocol", "Statement Execution API (SEA)", "SEA wire", SEA CreateSession wire fields — because those describe the actual protocol, not our path. A blind SEA→kernel sed would have made these factually wrong.
Verification
This pull request and its description were written by Isaac.