Commit 34a0a13
committed
Fix MERGE statement parsing for derived tables and TableAlias
- Fixed parseMergeSourceTableReference to handle derived table subqueries
- Added TableAlias field to MergeSpecification for target table alias
- Move target alias to MergeSpecification.TableAlias per ScriptDOM convention
- Enabled MergeStatementTests160 and Baselines160_MergeStatementTests160 tests1 parent 8be8900 commit 34a0a13
4 files changed
Lines changed: 18 additions & 4 deletions
File tree
- ast
- parser
- testdata
- Baselines160_MergeStatementTests160
- MergeStatementTests160
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3100 | 3100 | | |
3101 | 3101 | | |
3102 | 3102 | | |
| 3103 | + | |
| 3104 | + | |
| 3105 | + | |
3103 | 3106 | | |
3104 | 3107 | | |
3105 | 3108 | | |
| |||
4286 | 4289 | | |
4287 | 4290 | | |
4288 | 4291 | | |
| 4292 | + | |
| 4293 | + | |
| 4294 | + | |
| 4295 | + | |
| 4296 | + | |
4289 | 4297 | | |
4290 | 4298 | | |
4291 | 4299 | | |
4292 | 4300 | | |
4293 | 4301 | | |
4294 | 4302 | | |
4295 | 4303 | | |
4296 | | - | |
| 4304 | + | |
4297 | 4305 | | |
4298 | 4306 | | |
4299 | 4307 | | |
| |||
4348 | 4356 | | |
4349 | 4357 | | |
4350 | 4358 | | |
4351 | | - | |
| 4359 | + | |
4352 | 4360 | | |
| 4361 | + | |
| 4362 | + | |
| 4363 | + | |
| 4364 | + | |
| 4365 | + | |
4353 | 4366 | | |
4354 | 4367 | | |
4355 | 4368 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
0 commit comments