CSV file header is having comma, how to remove it

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.


Accepted Solutions
Highlighted
Fifteen Stars TRF
Fifteen 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
Fifteen Stars TRF
Fifteen 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

All Replies
Highlighted
Fifteen Stars TRF
Fifteen 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
Fifteen Stars TRF
Fifteen 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

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 1

Learn how to do cool things with Context Variables

Blog

Migrate Data from one Database to another with one Job using the Dynamic Schema

Find out how to migrate from one database to another using the Dynamic schema

Blog

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog