Skip to content

Commit

Permalink
Merge pull request #1608 from KenjiOhtsuka/bugfix/column_width
Browse files Browse the repository at this point in the history
Changed column widths to import data without truncating
  • Loading branch information
alistairewj authored Nov 30, 2023
2 parents 16c8cda + 10a0864 commit 99407a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mimic-iii/buildmimic/mysql/1-define.sql
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ CREATE TABLE CHARTEVENTS ( -- rows=263201375
STORETIME DATETIME,
CGID SMALLINT UNSIGNED,
VALUE TEXT, -- max=91
VALUENUM DECIMAL(22, 10),
VALUENUM DECIMAL(30, 23),
VALUEUOM VARCHAR(50), -- max=17
WARNING TINYINT UNSIGNED,
ERROR TINYINT UNSIGNED,
Expand Down Expand Up @@ -581,7 +581,7 @@ CREATE TABLE INPUTEVENTS_MV ( -- rows=3618991
LINKORDERID MEDIUMINT UNSIGNED NOT NULL,
ORDERCATEGORYNAME VARCHAR(100) NOT NULL, -- max=24
SECONDARYORDERCATEGORYNAME VARCHAR(100), -- max=24
ORDERCOMPONENTTYPEDESCRIPTION VARCHAR(20) NOT NULL, -- max=57
ORDERCOMPONENTTYPEDESCRIPTION VARCHAR(200) NOT NULL, -- max=100
ORDERCATEGORYDESCRIPTION VARCHAR(50) NOT NULL, -- max=14
PATIENTWEIGHT DECIMAL(22, 10) NOT NULL,
TOTALAMOUNT DECIMAL(22, 10),
Expand Down

0 comments on commit 99407a5

Please sign in to comment.