Skip to content

Commit ce1290c

Browse files
authored
Merge pull request #1779 from Scott1743/patch-1
Fix bug: Columns dislocation in the 'emar' table.
2 parents c18e49d + 6967e91 commit ce1290c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mimic-iv/buildmimic/mysql/load.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ LOAD DATA LOCAL INFILE 'emar.csv' INTO TABLE emar
339339
FIELDS TERMINATED BY ',' ESCAPED BY '' OPTIONALLY ENCLOSED BY '"'
340340
LINES TERMINATED BY '\n'
341341
IGNORE 1 LINES
342-
(@subject_id,@hadm_id,@emar_id,@emar_seq,@poe_id,@pharmacy_id,@enter_provider_id,@enter_provider_id,@charttime,@medication,@event_txt,@scheduletime,@storetime)
342+
(@subject_id,@hadm_id,@emar_id,@emar_seq,@poe_id,@pharmacy_id,@enter_provider_id,@charttime,@medication,@event_txt,@scheduletime,@storetime)
343343
SET
344344
subject_id = trim(@subject_id),
345345
hadm_id = IF(@hadm_id='', NULL, trim(@hadm_id)),

0 commit comments

Comments
 (0)