我们的数据文件编码格式是UTF-8,没有插入成功的也不全是有特殊字符的,一些正常的英文名也插不进去
INSERT INTO aka_name (id,person_id,name,imdb_index,name_pcode_cf,name_pcode_nf,surname_pcode,md5sum)VALUES (‘829005’,‘2340756’,’“Moriarty’,'Evelyn Lucille”’,’’,‘M6314’,‘E1454’,‘M63’,‘4c1cc74dc40cf48db9e65e54387d5810’);
Cause: The number of columns parsed does not match the number of columns in the table
这是csv文件中对应那行的数据,使用obloader以后识别的结果是这样的: INSERT INTO aka_name (id ,person_id ,name ,imdb_index ,name_pcode_cf ,name_pcode_nf ,surname_pcode ,md5sum )VALUES (‘829005’,‘2340756’,’“Moriarty’,'Evelyn Lucille”’,’’,‘M6314’,‘E1454’,‘M63’,‘4c1cc74dc40cf48db9e65e54387d5810’);
Cause: The number of columns parsed does not match the number of columns in the table。我的意思是obloader是支持符合RFC 4180规范的csv文件,这条数据应该也是符合规范的,为什么它识别的时候会直接以逗号分割呢?