Skip to content

Commit 24e8476

Browse files
committed
Enable DropExternalModelStatementTests170 tests
The parser already supports DROP EXTERNAL MODEL statements. This commit adds the expected ast.json output files and enables both the base and Baselines170 variants of the test.
1 parent aca04fa commit 24e8476

5 files changed

Lines changed: 58 additions & 4 deletions

File tree

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"$type": "TSqlScript",
3+
"Batches": [
4+
{
5+
"$type": "TSqlBatch",
6+
"Statements": [
7+
{
8+
"$type": "DropExternalModelStatement",
9+
"IsIfExists": false,
10+
"Name": {
11+
"$type": "SchemaObjectName",
12+
"BaseIdentifier": {
13+
"$type": "Identifier",
14+
"QuoteType": "NotQuoted",
15+
"Value": "my_model1"
16+
},
17+
"Count": 1,
18+
"Identifiers": [
19+
{
20+
"$ref": "Identifier"
21+
}
22+
]
23+
}
24+
}
25+
]
26+
}
27+
]
28+
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"skip": true}
1+
{"skip": false}
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"$type": "TSqlScript",
3+
"Batches": [
4+
{
5+
"$type": "TSqlBatch",
6+
"Statements": [
7+
{
8+
"$type": "DropExternalModelStatement",
9+
"IsIfExists": false,
10+
"Name": {
11+
"$type": "SchemaObjectName",
12+
"BaseIdentifier": {
13+
"$type": "Identifier",
14+
"QuoteType": "NotQuoted",
15+
"Value": "my_model1"
16+
},
17+
"Count": 1,
18+
"Identifiers": [
19+
{
20+
"$ref": "Identifier"
21+
}
22+
]
23+
}
24+
}
25+
]
26+
}
27+
]
28+
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"skip": true}
1+
{"skip": false}

skipped_tests_by_size.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
33 Baselines170_DropExternalModelStatementTests170
2-
33 DropExternalModelStatementTests170
31
69 Baselines90_MiscDeprecatedIn100Tests
42
95 AlterCreateDatabaseStatementTests90
53
98 MiscDeprecatedIn100Tests

0 commit comments

Comments
 (0)