LOAD DATA LOCAL INFILE создает нуль, где час равен 00. Только последние две строки импортируются правильно Может кто-нибудь, пожалуйста, помогите мне
запрос:
LOAD DATA LOCAL INFILE 'test.csv'
INTO TABLE stats.Counters_ACTIVEUE
FIELDS TERMINATED BY ","
OPTIONALLY ENCLOSED BY '"'
LINES TERMINATED BY "\n"
IGNORE 1 LINES
(@varTimeSt,NOMINAL,CELL_ID,IPLATEDL_MS_QCI_9,PDCPSDUDELAY_MSEC_QCI_9,UEACTIVEUL_COUNT_QCI_9,
UEACTIVEDL_COUNT_QCI_9) SET DAY = STR_TO_DATE(@varTimeSt,'%m/%d/%Y %h:%i');
Данные:
DAY,NOMINAL,CELL_ID,IPLATEDL_MS_QCI_9,PDCPSDUDELAY_MSEC_QCI_9,UEACTIVEUL_COUNT_QCI_9,UEACTIVEDL_COUNT_QCI_9
"09/05/2016 00:00",CE0001,cNum6,5.17,58.285,0.5725,0.9275
"09/05/2016 00:00",CE0001,cNum7,4.9025,40.385,0.17,0.235
"09/05/2016 01:00",CE0001,cNum8,1.8075,23.58,0.2175,0.8925
"08/30/2016 01:00",CE0001,cNum1,5.295,16.34,0.0875,0.17