MySQL LOAD DATA INFILE: works, but unpredictable line terminator

前端 未结 7 915
走了就别回头了
走了就别回头了 2020-12-25 14:58

MySQL has a nice CSV import function LOAD DATA INFILE.

I have a large dataset that needs to be imported from CSV on a regular basis, so this feature is

7条回答
  •  旧时难觅i
    2020-12-25 15:42

    You could also look into one of the data integration packages out there. Talend Open Studio has very flexible data input routines. For example you could process the file with one set of delimiters and catch the rejects and process them another way.

提交回复
热议问题