Fixes a typo in a setting name.

master
Abhinav Sarkar 2016-07-11 19:00:59 +05:30
parent fc550968f2
commit a89a3013f9
No known key found for this signature in database
GPG Key ID: 7C9166A6F5465AD5
3 changed files with 4 additions and 4 deletions

View File

@ -45,7 +45,7 @@ writeFiles outputDir env = do
. foldl (\acc -> Map.union acc . extractDependencies env) Map.empty
$ facts
BS.writeFile (outputDir </> Text.unpack settingDimensionJSONFileName) . encode $
BS.writeFile (outputDir </> Text.unpack settingDimensionsJSONFileName) . encode $
[ tableName table | (_, tabs) <- dimTables, table <- tabs , table `notElem` tables ]
BS.writeFile (outputDir </> Text.unpack settingFactsJSONFileName) . encode $

View File

@ -76,7 +76,7 @@ settingsParser = let Settings {..} = defSettings
settingFactsJSONFileName
"Name of the output facts json file"
<*> minorOption "dimensions-json-file"
settingDimensionJSONFileName
settingDimensionsJSONFileName
"Name of the output dimensions json file"
<*> option auto (long "foreign-key-id-coalesce-val"
<> hidden

View File

@ -372,7 +372,7 @@ data Settings = Settings
-- | Name of the generated JSON file containing the list of name of the generated fact tables
, settingFactsJSONFileName :: !Text
-- | Name of the generated JSON file containing the list of name of the generated dimension tables
, settingDimensionJSONFileName :: !Text
, settingDimensionsJSONFileName :: !Text
-- | Value to coalesce the missing foreign key id column values to in the generated fact tables
, settingForeignKeyIdCoalesceValue :: !Int
-- | Suffix template for names of all the generated tables
@ -394,7 +394,7 @@ defSettings = Settings
, settingFactInfix = "_by_"
, settingDependenciesJSONFileName = "dependencies.json"
, settingFactsJSONFileName = "facts.json"
, settingDimensionJSONFileName = "dimensions.json"
, settingDimensionsJSONFileName = "dimensions.json"
, settingForeignKeyIdCoalesceValue = -1
, settingTableNameSuffixTemplate = "{{suff}}"
}