Skip to content

Commit

Permalink
Set sqlRenderTempEmulationSchema properly - fixes #76 (#110)
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonysena authored Dec 20, 2023
1 parent f66f530 commit 4e188ea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion R/RunModule.R
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ runModule <- function(analysisSpecifications, keyringSettings, moduleIndex, exec
ParallelLogger::addDefaultErrorReportLogger(file.path(jobContext$moduleExecutionSettings$resultsSubFolder, "errorReport.R"))

options(andromedaTempFolder = file.path(jobContext$moduleExecutionSettings$workFolder, "andromedaTemp"))
options(tempEmulationSchema = jobContext$moduleExecutionSettings$tempEmulationSchema)
options(sqlRenderTempEmulationSchema = jobContext$moduleExecutionSettings$tempEmulationSchema)
options(databaseConnectorIntegerAsNumeric = jobContext$moduleExecutionSettings$integerAsNumeric)
options(databaseConnectorInteger64AsNumeric = jobContext$moduleExecutionSettings$integer64AsNumeric)

Expand Down
2 changes: 1 addition & 1 deletion inst/testdata/analysisSpecification.json
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@
"remoteRepo": "github.com",
"remoteUsername": "ohdsi",
"settings": {
"incremental": true,
"incremental": false,
"generateStats": true
},
"attr_class": ["CohortGeneratorModuleSpecifications", "ModuleSpecifications"]
Expand Down

0 comments on commit 4e188ea

Please sign in to comment.