Five Stars

CSV file header is having comma, how to remove it

I am importing a CSV file in talend which is having comma in some of its headers and it splits header into further based on comma.

Is there any way out to overcome this problem because it increases number of columns in result CSV.

2 ACCEPTED SOLUTIONS

Accepted Solutions
Thirteen Stars TRF
Thirteen Stars

Re: CSV file header is having comma, how to remove it

Hi,
If there is a pattern which allow you to transform the header, you may get it as a single field using tFileInputFullRow.
Else, I'am afraid you have to change the separator when the input file is produced.

TRF
Thirteen Stars TRF
Thirteen Stars

Re: CSV file header is having comma, how to remove it

@nukhanpk, did it help you?

In this case thank's to mark this case as resolved (Kudos also accepted).


TRF
2 REPLIES
Thirteen Stars TRF
Thirteen Stars

Re: CSV file header is having comma, how to remove it

Hi,
If there is a pattern which allow you to transform the header, you may get it as a single field using tFileInputFullRow.
Else, I'am afraid you have to change the separator when the input file is produced.

TRF
Thirteen Stars TRF
Thirteen Stars

Re: CSV file header is having comma, how to remove it

@nukhanpk, did it help you?

In this case thank's to mark this case as resolved (Kudos also accepted).


TRF