I am trying to concatenate two excel input columns into one on Talend using Tmap, but the output is splitting into multiple columns because the data in columns is separated by a comma. Please see the below example:
|GRETCHEN, CS||ELITE FIRE SERVICE, INC.||GRETCHEN, CS ELITE FIRE SERVICE, INC.|
|GRETCHEN, CS||ELITE FIRE SERVICE, INC.||GRETCHEN||CS ELITE FIRE SERVICE||INC|
I am using row1.Col1 + row2.Col2 in Tmap expression.
Solved! Go to Solution.
But I would need the output to be generated as a csv file which will be separated by comma. Is there any other way we can approach?
If you want field separator as comma and you also have commas into the field value, then you have to enclose fields between "" or any character you want.
@skrc0213,please find the below are you looking for?
So what should be the settings after checking csv option. It has escape characters and text enclosure. I just need a csv files with comma separated values.
Tag as "solved" for others! Kudos to thanks!
Watch the recorded webinar!
Introduction to Talend Open Studio for Data Integration.
Test drive Talend's enterprise products.
Practical steps to developing your data integration strategy.