Mark 66 tests with invalid_syntax and parser_error#25
Merged
kyleconroy merged 3 commits intomainfrom Dec 23, 2025
Merged
Conversation
Document how to use the TsqlAstParser C# tool to generate ast.json files for test cases. Include prerequisites (.NET SDK, NuGet package), usage examples, and limitations (unsupported SQL Server 170 features, Fabric DW syntax, deprecated/error test cases).
These tests contain SQL that TSql160Parser cannot parse: - SQL Server 170 features (VECTOR, AI, JSON enhancements) - Fabric DW syntax (CLONE TABLE, CLUSTER BY) - Deprecated SQL 80/90/100/110 syntax - Intentional error test cases Each metadata.json now includes: - invalid_syntax: true - parser_error: the actual parse error from ScriptDom Also removed these 66 tests from skipped_tests_by_size.txt since they cannot be implemented without a newer parser version.
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.
Document how to use the TsqlAstParser C# tool to generate ast.json files for test cases. Include prerequisites (.NET SDK, NuGet package), usage examples, and limitations (unsupported SQL Server 170 features, Fabric DW syntax, deprecated/error test cases).