One Star

Is there any option to get output with spaces in tmap?

Hi All,
I am using talend 5.1.1 open studio. In tmap we will get output column headers with under scores. Is there any option to get with space.
Ex: In output fields we will take column headers like Fixed_Rate_Bond but I need to get it Fixed Rate Bond like this.
3 REPLIES
Community Manager

Re: Is there any option to get output with spaces in tmap?

Hi
Talend is a Java code generator tool, the column name will be translated to a variable in the generated Java code, it is impossible to define a column name with space or other special characters. If you want to include the column name in the output file, you can use a tFixedFlowInput to generate the column names and output it to the file first, and then append the data in the next subjob.
Shong
----------------------------------------------------------
Talend | Data Agility for Modern Business
Seven Stars

Re: Is there any option to get output with spaces in tmap?

Although, since Talend can handle this for databases, it should be able to easily do the same for flat files!
One Star

Re: Is there any option to get output with spaces in tmap?

thank you