-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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 loading MIMIC-IV 3.0 with the V 2.2 postgres create.sql script #1770
Comments
I came across a similar error with COPY admissions. |
The exact fix is to change the create_admissions.sql file. I my case the location is mimic-code\mimic-iv\buildmimic\postgres\create_admissions.sql (I am working with postgres on Windows 11). |
Yep that works! Or run |
Prerequisites
Description
Description of the issue, including:
psql:load.sql:16: ERROR: value too long for type character varying(10)
CONTEXT: COPY admissions, line 238, column language: "Kabuverdianu"
and later with
psql:load_admissions.sql:16: ERROR: value too long for type character varying(12)
CONTEXT: COPY admissions, line 387, column language: "American Sign Language"
I fixed it by changing the 'language' column VARCHAR limit to 30. This will surely be fixed if and when a 3.0 version of code is released.
The text was updated successfully, but these errors were encountered: