2015-03-13 22:36:36 +00:00
|
|
|
options (skip=1)
|
|
|
|
load data
|
|
|
|
infile drug_strength.csv
|
|
|
|
into table drug_strength
|
|
|
|
replace
|
|
|
|
fields terminated by '\t'
|
|
|
|
trailing nullcols
|
|
|
|
(
|
|
|
|
drug_concept_id,
|
|
|
|
ingredient_concept_id,
|
|
|
|
amount_value,
|
2017-06-04 18:14:57 +00:00
|
|
|
amount_unit,
|
|
|
|
concentration_value,
|
|
|
|
concentration_enum_unit,
|
|
|
|
concentration_denom_unit,
|
2015-03-13 22:36:36 +00:00
|
|
|
valid_start_date DATE 'YYYYMMDD',
|
|
|
|
valid_end_date DATE 'YYYYMMDD',
|
|
|
|
invalid_reason
|
2017-06-04 18:14:57 +00:00
|
|
|
)
|