Skip to content

Commit 95ca314

Browse files
committed
Mark 66 tests with invalid_syntax and parser_error
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.
1 parent d1abae3 commit 95ca314

File tree

67 files changed

+330
-132
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+330
-132
lines changed
Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1-
{"skip": true}
1+
{
2+
"skip": true,
3+
"invalid_syntax": true,
4+
"parser_error": "Line 2, Column 33: Incorrect syntax near '='.;Line 5, Column 33: Incorrect syntax near '='.;Line 8, Column 33: Incorrect syntax near '='.;Line 11, Column 33: Incorrect syntax near '='.;Line 14, Column 33: Incorrect syntax near '='.;Line 17, Column 33: Incorrect syntax near '='.;Line 20, Column 33: Incorrect syntax near '='.;Line 23, Column 48: Incorrect syntax near '='.;Line 26, Column 48: Incorrect syntax near '='.;Line 29, Column 48: Incorrect syntax near '='.;Line 32, Column 33: Incorrect syntax near '='.;Line 35, Column 33: Incorrect syntax near '='.;Line 38, Column 33: Incorrect syntax near '='.;Line 56, Column 48: Incorrect syntax near '='.;Line 63, Column 37: Incorrect syntax near '='.;"
5+
}
Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1-
{"skip": true}
1+
{
2+
"skip": true,
3+
"invalid_syntax": true,
4+
"parser_error": "Line 1, Column 55: Incorrect syntax near 'USE'.;Line 2, Column 56: Incorrect syntax near 'USE'.;Line 3, Column 55: Incorrect syntax near 'USE'.;Line 4, Column 55: Incorrect syntax near 'USE'.;Line 5, Column 55: Incorrect syntax near 'USE'.;Line 6, Column 55: Incorrect syntax near 'USE'.;Line 7, Column 34: Incorrect syntax near 'USE'.;Line 35, Column 52: Incorrect syntax near 'USE'.;Line 40, Column 45: Incorrect syntax near 'USE'.;Line 45, Column 88: Incorrect syntax near 'USE'.;Line 53, Column 71: Incorrect syntax near 'USE'.;"
5+
}
Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1-
{"skip": true}
1+
{
2+
"skip": true,
3+
"invalid_syntax": true,
4+
"parser_error": "Line 1, Column 18: Incorrect syntax near 'error'.;"
5+
}
Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1-
{"skip": true}
1+
{
2+
"skip": true,
3+
"invalid_syntax": true,
4+
"parser_error": "Line 2, Column 52: Incorrect syntax near 'MANUAL_CUTOVER'.;Line 5, Column 42: Incorrect syntax near 'MANUAL_CUTOVER'.;Line 8, Column 70: Incorrect syntax near 'MANUAL_CUTOVER'.;Line 10, Column 19: Incorrect syntax near 'PERFORM_CUTOVER'.;"
5+
}
Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1-
{"skip": true}
1+
{
2+
"skip": true,
3+
"invalid_syntax": true,
4+
"parser_error": "Line 1, Column 16: Incorrect syntax near 'MODEL'.;Line 9, Column 16: Incorrect syntax near 'MODEL'.;Line 13, Column 16: Incorrect syntax near 'MODEL'.;Line 17, Column 16: Incorrect syntax near 'MODEL'.;Line 23, Column 16: Incorrect syntax near 'MODEL'.;"
5+
}
Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1-
{"skip": true}
1+
{
2+
"skip": true,
3+
"invalid_syntax": true,
4+
"parser_error": "Line 7, Column 17: Incorrect syntax near 'JSON_OBJECT'.;"
5+
}
Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1-
{"skip": true}
1+
{
2+
"skip": true,
3+
"invalid_syntax": true,
4+
"parser_error": "Line 2, Column 105: Option 'RESUMABLE' is not a valid index option in 'ALTER TABLE' statement.;Line 3, Column 80: Option 'RESUMABLE' is not a valid index option in 'ALTER TABLE' statement.;Line 4, Column 80: Option 'RESUMABLE' is not a valid index option in 'ALTER TABLE' statement.;Line 5, Column 65: Option 'RESUMABLE' is not a valid index option in 'ALTER TABLE' statement.;"
5+
}
Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1-
{"skip": true}
1+
{
2+
"skip": true,
3+
"invalid_syntax": true,
4+
"parser_error": "Line 6, Column 13: Incorrect syntax near 'JSON_OBJECT'.;"
5+
}
Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1-
{"skip": true}
1+
{
2+
"skip": true,
3+
"invalid_syntax": true,
4+
"parser_error": "Line 2, Column 90: Option 'RESUMABLE' is not a valid index option in 'ALTER TABLE' statement.;Line 5, Column 65: Option 'RESUMABLE' is not a valid index option in 'ALTER TABLE' statement.;Line 8, Column 65: Option 'RESUMABLE' is not a valid index option in 'ALTER TABLE' statement.;Line 11, Column 50: Option 'RESUMABLE' is not a valid index option in 'ALTER TABLE' statement.;"
5+
}
Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1-
{"skip": true}
1+
{
2+
"skip": true,
3+
"invalid_syntax": true,
4+
"parser_error": "Line 12, Column 13: Incorrect syntax near 'FOR'.;"
5+
}

0 commit comments

Comments
 (0)