Repository navigation
Commit 9f71e00
authored
Merge commits for release 161.8834.0 (microsoft#44)
* Merged PR 1047593: Added PARSER_VERSION format option to the grammar
This option is [only available on SQL Serverless Pools](https://learn.microsoft.com/en-us/sql/t-sql/statements/create-external-file-format-transact-sql?view=aps-pdw-2016-au7&tabs=delimited#format_options).
I've tested the option by adding parser error tests.
Related work items: #2368725
* Merged PR 1054529: Multiple Column Distribution Support in ScriptDom for Dw SqlView
Multiple Column Distribution Support in ScriptDom for Dw SqlView
1. Added DistributionColumns member with Collection="true" attribute in ViewHashDistributionPolicy class in AST.xml
2. CollectionFirstItem="true" attribute added in DistributionColumn member of ViewHashDistributionPolicy class in AST.xml
3. ViewHashDistributionPolicy updated with multiple columns(AddAndUpdateTokenInfo) in TSql130.g,TSql140.g,TSql150.g and TSql160.g
4. SqlScriptGeneratorVisitor.ViewHashDistributionPolicy is modified with DistributionColumns
5. Modified CreateMaterializedViewNegativeTest method in ParserErrorsTests.cs DISTRIBUTION = HASH(Col3, Col4,, Col5))
6. Added create Materialized View scripts with MCD in following scripts files
a. MaterializedViewTests*.sql in Baselines* and TestScripts folder.
Related work items: #2391658
* Merged PR 1067388: Update build tools
Use antlr from antlr2.org
Use powershell instead of Sed for generating props
Fixes microsoft#26
* Add additional asserts in test case for CursorOption1 parent ed5ecbe commit 9f71e00
30 files changed
Lines changed: 335 additions & 63 deletions
File tree
- SqlScriptDom
- Parser/TSql
- ScriptDom/SqlServer/ScriptGenerator
- Test/SqlDom
- Baselines130
- Baselines140
- Baselines150
- Baselines160
- TestScripts
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
57 | 74 | | |
58 | 75 | | |
59 | 76 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
110 | | - | |
| 110 | + | |
| 111 | + | |
111 | 112 | | |
112 | 113 | | |
113 | 114 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11984 | 11984 | | |
11985 | 11985 | | |
11986 | 11986 | | |
11987 | | - | |
11988 | 11987 | | |
11989 | 11988 | | |
11990 | 11989 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13994 | 13994 | | |
13995 | 13995 | | |
13996 | 13996 | | |
13997 | | - | |
13998 | 13997 | | |
13999 | 13998 | | |
14000 | 13999 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14396 | 14396 | | |
14397 | 14397 | | |
14398 | 14398 | | |
14399 | | - | |
14400 | 14399 | | |
14401 | 14400 | | |
14402 | 14401 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15640 | 15640 | | |
15641 | 15641 | | |
15642 | 15642 | | |
15643 | | - | |
15644 | 15643 | | |
15645 | 15644 | | |
15646 | 15645 | | |
| |||
23118 | 23117 | | |
23119 | 23118 | | |
23120 | 23119 | | |
23121 | | - | |
| 23120 | + | |
23122 | 23121 | | |
23123 | 23122 | | |
23124 | | - | |
23125 | 23123 | | |
23126 | 23124 | | |
| 23125 | + | |
| 23126 | + | |
| 23127 | + | |
| 23128 | + | |
| 23129 | + | |
| 23130 | + | |
| 23131 | + | |
| 23132 | + | |
| 23133 | + | |
23127 | 23134 | | |
23128 | 23135 | | |
23129 | 23136 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16025 | 16025 | | |
16026 | 16026 | | |
16027 | 16027 | | |
16028 | | - | |
16029 | 16028 | | |
16030 | 16029 | | |
16031 | 16030 | | |
| |||
23687 | 23686 | | |
23688 | 23687 | | |
23689 | 23688 | | |
23690 | | - | |
| 23689 | + | |
23691 | 23690 | | |
23692 | 23691 | | |
23693 | | - | |
23694 | 23692 | | |
23695 | 23693 | | |
| 23694 | + | |
| 23695 | + | |
| 23696 | + | |
| 23697 | + | |
| 23698 | + | |
| 23699 | + | |
| 23700 | + | |
| 23701 | + | |
| 23702 | + | |
23696 | 23703 | | |
23697 | 23704 | | |
23698 | 23705 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16695 | 16695 | | |
16696 | 16696 | | |
16697 | 16697 | | |
16698 | | - | |
16699 | 16698 | | |
16700 | 16699 | | |
16701 | 16700 | | |
| |||
24433 | 24432 | | |
24434 | 24433 | | |
24435 | 24434 | | |
24436 | | - | |
| 24435 | + | |
24437 | 24436 | | |
24438 | 24437 | | |
24439 | | - | |
24440 | 24438 | | |
24441 | 24439 | | |
| 24440 | + | |
| 24441 | + | |
| 24442 | + | |
| 24443 | + | |
| 24444 | + | |
| 24445 | + | |
| 24446 | + | |
| 24447 | + | |
| 24448 | + | |
24442 | 24449 | | |
24443 | 24450 | | |
24444 | 24451 | | |
| |||
0 commit comments