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,
|
|
|
|
amount_unit_concept_id,
|
|
|
|
numerator_value,
|
|
|
|
numerator_unit_concept_id,
|
2016-09-01 17:56:50 +00:00
|
|
|
denominator_value,
|
2015-03-13 22:36:36 +00:00
|
|
|
denominator_unit_concept_id,
|
2016-09-01 17:56:50 +00:00
|
|
|
box_size,
|
2015-03-13 22:36:36 +00:00
|
|
|
valid_start_date DATE 'YYYYMMDD',
|
|
|
|
valid_end_date DATE 'YYYYMMDD',
|
|
|
|
invalid_reason
|
2016-04-29 18:32:51 +00:00
|
|
|
)
|