Skip to content

Commit 10a0864

Browse files
authored
Make CHARTEVENTS VALUENUM colum wide.
CHARTEVENTS VALUENUM column was set to DECIMAL(22, 10) but that data has to be truncated when it is inserted, because the actual data contains 7 integer part digits and 23 or less than decimal places at most. Then I made the column DECIMAL(30, 23).
1 parent 54fc00f commit 10a0864

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mimic-iii/buildmimic/mysql/1-define.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ CREATE TABLE CHARTEVENTS ( -- rows=263201375
179179
STORETIME DATETIME,
180180
CGID SMALLINT UNSIGNED,
181181
VALUE TEXT, -- max=91
182-
VALUENUM DECIMAL(22, 10),
182+
VALUENUM DECIMAL(30, 23),
183183
VALUEUOM VARCHAR(50), -- max=17
184184
WARNING TINYINT UNSIGNED,
185185
ERROR TINYINT UNSIGNED,

0 commit comments

Comments
 (0)