Closed rfherrerac closed 2 months ago
I think currently, the tempEmulationSchema is needed in your executionSettings for this to work. This tempEmulationSchema would be a place to store tables as if they're temp tables -- useful for db platforms that don't support actual temp tables
it works on snowflake....i didnt test on redshift where I think this issue is coming from
tested on redshift when tempEmulationSchema is NULL should be good. Please give your example another try, let me know if it errors out again.
When doing analysisSettings <- makeClinChar(targetCohortIds = 1:5, dbms = con@dbms, targetCohortNames = executionSettings$databaseName, cdmDatabaseSchema = executionSettings$cdmDatabaseSchema, workDatabaseSchema = executionSettings$workDatabaseSchema, cohortTable = executionSettings$cohortTable)
Got an error
Error in (function (cl, name, valueClass) : assignment of an object of class “NULL” is not valid for @‘tempEmulationSchema’ in an object of class “executionSettings”; is(value, "character") is not TRUE
ClinicalCharacteristics version 0.2.9