Closed YanLong-Cloud closed 2 years ago
Hi @YanLong-Cloud you also have to have the CDM_SOURCE table populated for the DQD to run.
@YanLong-Cloud one thing I noticed too that in your connection string you need to include your schema "omop". On my local postgres instance my server would be postgres/omop. That could be why it is not picking up your cdm_source table.
I didnt use the connection string to connect eventually. I noticed the issue come with the fact the code in R only somehow only works when the schema is "public". I have no clue how to change the env variable in R so i just chose to name new instance as "public" since I didnt need multiple schemas.
I face this error even though i think i have the cdm set-up properly.
I notice that the connection was not made when I broke up the code a little and the connection is "Connecting" and the code finishes running.
Below is my code