feat: support SQL Server SHOWPLAN XML plans - #2
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This was referenced Sep 2, 2026
debba
marked this pull request as ready for review
September 3, 2026 11:31
@tabularis/explain 0.2.0 and @tabularis/explain-sqlserver 1.0.0-beta.1 are on npm, so the temporary tarball overrides and the vendored archives are no longer needed. The lockfile now resolves both from the registry.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds SQL Server to the standalone EXPLAIN site.
SHOWPLAN_XMLestimated plans andSTATISTICS XMLactual plans (anyShowPlanXMLdocument) can be pasted and explored like the other engines.Uses
@tabularis/explain0.2.0 (parser registry, merged in TabularisDB/tabularis#688) and@tabularis/explain-sqlserver1.0.0-beta.1 (merged in TabularisDB/tabularis-sqlserver-plugin#3).What changed
@tabularis/explainbumped to^0.2.0and@tabularis/explain-sqlserver@^1.0.0-beta.1added. The parser package is imported once inmain.tsxso it registers itself before any parsing happens.parse.ts: SQL Server is tried first in auto-detection because theShowPlanXMLroot element is unambiguous. Postgres, SQLite and MySQL keep their previous order.PlanInput.tsx: SQL Server appears in the engine picker.STATISTICS XMLplan is available from the sample menu.seo.config.jsonmention SQL Server.App.test.tsxandPlanView.test.tsx.Dependencies
Both packages are published:
@tabularis/explain@0.2.0and@tabularis/explain-sqlserver@1.0.0-beta.1. The temporary tarball overrides and thevendor/directory used while they were unpublished have been removed and the lockfile resolves both from the registry.minimumReleaseAgeExcludekeeps the two exact versions installable despite their age.Verification
pnpm install,pnpm test(4 files, 27 tests) andpnpm buildpass against the published packages.