Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when running Achilles against CDM v5 #41

Closed
wistephens opened this issue Jan 13, 2015 · 2 comments
Closed

Error when running Achilles against CDM v5 #41

wistephens opened this issue Jan 13, 2015 · 2 comments

Comments

@wistephens
Copy link

I updated my R install with the latest Achilles and SQLRender packages in order run against a CDM v5 database instance. Everything appears to work fine until I attempt to export the JSON. At this point, the query appears to be referring to vocabularies via numerical ID a la CDM v4 (1) rather than name (SNOMED)

exportToJson(pgConnectionDetails,"public", "achilles_results", "/Users/wstephens/ext/OHDSI/AchillesWeb-master/data/Test")
| |
0%Error executing SQL: Error in .jcall(s, "Ljava/sql/ResultSet;", "executeQuery", as.character(query)[1]): org.postgresql.util.PSQLException: ERROR: operator does not exist: character varying = integer
Hint: No operator matches the given name and argument type(s). You might need to add explicit type casts.
Position: 1075

An error report has been created at /Users/wstephens/errorReport.txt
Error in value[3L] : no loop for break/next, jumping to top level

screen shot 2015-01-13 at 3 01 59 pm

@chrisknoll
Copy link
Contributor

the vocabulary_id = 1 looks like that was from CDMv4. in v5 those are varchars. Could you ensure that you have the latest code, and that you are running the analysis specifying the correct cdm version?

@t-abdul-basser
Copy link
Contributor

No response from OP. No issue raised subsequently.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants