Validate a csv file

前端 未结 6 501
暖寄归人
暖寄归人 2021-01-20 02:34

This is my sample file

#%cty_id1,#%ccy_id2,#%cty_src,#%cty_cd3,#%cty_nm4,#%cty_reg5,#%cty_natnl6,#%cty_bus7,#%cty_data8
690,ALL2,,AL,ALBALODMNIA,,,,
90,ALL2,,         


        
6条回答
  •  心在旅途
    2021-01-20 03:02

    i would question the source system which is sending you this file as to why this extra comma in between for some rows? I guess you would be using comma as a delimeter for importing this .csv file into talend.

    (or another suggestion would be to ask for semi colon as column separator in the input file)

    9,"ALL",,,"AQ","ANTARCTICA",,,,

    will be

    9;"ALL";,;"AQ";"ANTARCTICA";;;;

提交回复
热议问题