From bf3483588b5af66bdaa587b23227e6c0db94f56c Mon Sep 17 00:00:00 2001 From: Preston Hervey Date: Mon, 17 Dec 2018 16:35:09 -0600 Subject: [PATCH] Clean up config files and add documentation for enumeration field acceptable values --- SetUpAggs/AggsConfig_SetAggs1.json | 10 +++++----- SetUpAggs/AggsConfig_SetAggs2.json | 10 +++++----- SetUpAggs/AggsConfig_SetDQ.json | 10 +++++----- SetUpAggs/README.md | 6 ++++++ 4 files changed, 21 insertions(+), 15 deletions(-) diff --git a/SetUpAggs/AggsConfig_SetAggs1.json b/SetUpAggs/AggsConfig_SetAggs1.json index 9247171..c6a9cae 100644 --- a/SetUpAggs/AggsConfig_SetAggs1.json +++ b/SetUpAggs/AggsConfig_SetAggs1.json @@ -1,7 +1,7 @@ { - "database": { - "name": "AdventureWorksAggsProvider_PH", - "tables": [ + "database": { + "name": "AdventureWorksAggsProvider", + "tables": [ { "name": "DimGeography", "mode": "Dual", @@ -70,6 +70,6 @@ } ] } - ] - } + ] + } } \ No newline at end of file diff --git a/SetUpAggs/AggsConfig_SetAggs2.json b/SetUpAggs/AggsConfig_SetAggs2.json index 797513a..d6c2736 100644 --- a/SetUpAggs/AggsConfig_SetAggs2.json +++ b/SetUpAggs/AggsConfig_SetAggs2.json @@ -1,7 +1,7 @@ { - "database": { - "name": "AdventureWorksAggsProvider_PH", - "tables": [ + "database": { + "name": "AdventureWorksAggsProvider", + "tables": [ { "name": "DimGeography", "mode": "Dual", @@ -69,6 +69,6 @@ } ] } - ] - } + ] + } } \ No newline at end of file diff --git a/SetUpAggs/AggsConfig_SetDQ.json b/SetUpAggs/AggsConfig_SetDQ.json index 7c0f9e5..fc76ecd 100644 --- a/SetUpAggs/AggsConfig_SetDQ.json +++ b/SetUpAggs/AggsConfig_SetDQ.json @@ -1,7 +1,7 @@ { - "database": { - "name": "AdventureWorksAggsProvider_PH", - "tables": [ + "database": { + "name": "AdventureWorksAggsProvider", + "tables": [ { "name": "DimGeography", "mode": "DirectQuery", @@ -32,6 +32,6 @@ "mode": "DirectQuery", "refreshType": "Full" } - ] - } + ] + } } \ No newline at end of file diff --git a/SetUpAggs/README.md b/SetUpAggs/README.md index 50de83c..c78f423 100644 --- a/SetUpAggs/README.md +++ b/SetUpAggs/README.md @@ -22,6 +22,12 @@ SetUpAggs.exe apply -Server asazure://server/instance -ConfigFile AggsConfig.jso ## Configuration File Example +Accepted values for enumeration fields: + +database.tables[].mode - Default, DirectQuery, Dual, Import +database.tables[].refreshType - Add, Automatic, Calculate, ClearValues, DataOnly, Defragment, Full +database.tables[].aggregationRules[].summarization - Count, GroupBy, Max, Min, Sum, CountTableRows + ```json { "database": {