diff --git a/mimic-iv-note/buildmimic/postgres/load.sql b/mimic-iv-note/buildmimic/postgres/load.sql index 38a79a82..8c0f26d8 100644 --- a/mimic-iv-note/buildmimic/postgres/load.sql +++ b/mimic-iv-note/buildmimic/postgres/load.sql @@ -6,7 +6,7 @@ -- psql "dbname= user=" -v mimic_data_dir= -f load_gz.sql \cd :mimic_data_dir --- making sure that all tables are emtpy and correct encoding is defined -utf8- +-- making sure that all tables are empty and correct encoding is defined -utf8- SET CLIENT_ENCODING TO 'utf8'; \COPY mimiciv_note.discharge FROM 'discharge.csv' DELIMITER ',' CSV HEADER NULL ''; diff --git a/mimic-iv-note/buildmimic/postgres/load_7z.sql b/mimic-iv-note/buildmimic/postgres/load_7z.sql index 57c4dee6..0263e7ba 100644 --- a/mimic-iv-note/buildmimic/postgres/load_7z.sql +++ b/mimic-iv-note/buildmimic/postgres/load_7z.sql @@ -6,7 +6,7 @@ -- psql "dbname= user=" -v mimic_data_dir= -f load_gz.sql \cd :mimic_data_dir --- making sure that all tables are emtpy and correct encoding is defined -utf8- +-- making sure that all tables are empty and correct encoding is defined -utf8- SET CLIENT_ENCODING TO 'utf8'; \COPY mimiciv_note.discharge FROM PROGRAM '7z e -so discharge.csv.gz' DELIMITER ',' CSV HEADER NULL ''; diff --git a/mimic-iv-note/buildmimic/postgres/load_gz.sql b/mimic-iv-note/buildmimic/postgres/load_gz.sql index bbe9ba64..ff8c9727 100644 --- a/mimic-iv-note/buildmimic/postgres/load_gz.sql +++ b/mimic-iv-note/buildmimic/postgres/load_gz.sql @@ -6,7 +6,7 @@ -- psql "dbname= user=" -v mimic_data_dir= -f load_gz.sql \cd :mimic_data_dir --- making sure that all tables are emtpy and correct encoding is defined -utf8- +-- making sure that all tables are empty and correct encoding is defined -utf8- SET CLIENT_ENCODING TO 'utf8'; \COPY mimiciv_note.discharge FROM PROGRAM 'gzip -dc discharge.csv.gz' DELIMITER ',' CSV HEADER NULL '';