Coder Social home page Coder Social logo

Error: Error executing SQL: org.postgresql.util.PSQLException: ERROR: UNION types integer and character varying cannot be matched Position: 325 about legendt2dm HOT 4 CLOSED

ohdsi-studies avatar ohdsi-studies commented on August 12, 2024
Error: Error executing SQL: org.postgresql.util.PSQLException: ERROR: UNION types integer and character varying cannot be matched Position: 325

from legendt2dm.

Comments (4)

lofung avatar lofung commented on August 12, 2024

The sql error file says that it is a syntax error for SELECT * FROM #exposure_cohorts;

but r error file says it is a type matching issue, that two error reports do not seem to make sense when they are put together.

We are using postgreSQL

from legendt2dm.

lofung avatar lofung commented on August 12, 2024

can we solve it this way but how to we solve it for LegendT2DM script?

https://stackoverflow.com/questions/63997315/union-types-text-and-bigint-cannot-be-matched

from legendt2dm.

lofung avatar lofung commented on August 12, 2024

assessmentLog.txt

image

2022-01-13 18:19:06	[Main thread]	INFO	CohortDiagnostics	createConceptCountsTable	Creating internal concept counts table

is the last line before it hits the designated error.

from legendt2dm.

msuchard avatar msuchard commented on August 12, 2024

@lofung -- a colleague recently tried the LEGEND-T2DM study code against an postgresql database, and everything appears to work. My best guess is that your tables do not follow the OMOP CDM 5.3 specification. One of these requirements is that cdm_source cannot be null. You can find the specification here (https://github.com/ohdsi/commondatamodel)

The LEGEND-T2DM package depends on many OHDSI packages. So narrowing now your format issues using LEGEND is probably not the easiest. I'd recommend first running something like DataQualityDashboard and a small characterization study first.

from legendt2dm.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.